Bit Feed


1
Posted by albydarned 3 years ago
      
SELECT 
   SCHEMA_NAME(SCHEMA_ID) AS [Schema]
  ,SO.name AS [ObjectName]			   
  ,SO.Type_Desc AS [Ob...      
    
MORE

2
Posted by axelson 3 years ago
This will help you write a snippet like this inside a pipeline: find_items() |> IO.inspe...
      
# -*- mode: snippet -*-
# name: Piped Inspect
# key: pin
# --
|> IO.inspect(label: "$2$1 (`(buffer-na...      
    
MORE

-2
Posted by Seregapeh89 3 years ago
      
123      
    

-1
Posted by maranfa 4 years ago
love
      
11      
    

0
Posted by Tima252020 4 years ago
Test
      

import os
if not os.path.exists('my_folder'):
    os.makedirs('my_folder')      
    

2
Posted by albydarned 4 years ago
      
import os
if not os.path.exists('my_folder'):
    os.makedirs('my_folder')      
    

2
Posted by axelson 4 years ago
Trace all calls to a module without any external libraries
      
:dbg.tracer()
# Or replace the `_` with a function name to trace just that function
:dbg.tpl(MyModule...      
    
MORE

2
Posted by ityonemo 4 years ago
VSCode IO.inspect snippet for Elixir users
      
{
	"Inspect": {
		"prefix": "ins",
		"body": "|> IO.inspect(label: \"$0$TM_LINE_NUMBER\")",
		"descri...      
    
MORE

1
Posted by albydarned 4 years ago
      
import subprocess
subprocess.run(["ls", "-l"])      
    

0
Posted by albydarned 4 years ago
How to use the OAuth2 Library (https://github.com/scrogson/oauth2) to connect with GitHub in Elixir. ...
      
defmodule App.GitHub do
  use OAuth2.Strategy

  # Public API

  def client do
    OAuth2.Client.new(...      
    
MORE

0
Posted by albydarned 4 years ago
From: https://docs.microsoft.com/en-us/sql/t-sql/functions/row-number-transact-sql?view=sql-server-ve...
      
SELECT 
  ROW_NUMBER() OVER(ORDER BY name ASC) AS Row#,
  name, recovery_model_desc
FROM sys.database...      
    
MORE

1
Posted by lucabelmonte 4 years ago
      
# HI 
Print("x")      
    

1
Posted by lonelypatient 4 years ago
      
System.out.println("Hello World");      
    

0
Posted by albydarned 5 years ago
Credit: https://blog.sqlauthority.com/2016/06/07/sql-server-much-free-space-database/
      
SELECT
   SUBSTRING(a.FILENAME, 1, 1) Drive,
   [FILE_SIZE_MB] = convert(decimal(12, 2), round(a.size...      
    
MORE

0
Posted by albydarned 5 years ago
How to pass arguments to system.util.invokeAsynchronous in Inductive Automation Ignition using a pyth...
      
from functools import partial

def myfunc(someArg1, someArg2, optionalKwarg=None, optionalKwarg2=None...      
    
MORE

1
Posted by michael_andreuzza 5 years ago
So, it took me 2 days to figure it out how to do it, now is working and ready to collect Subscribers....
      
//<p class="has-text-white is-size-7-mobile is-size-7-tablet alert alert-success success-message " st...      
    
MORE

1
Posted by albydarned 5 years ago
As you may know, COUNT(*) if often very slow on large tables. With this query I have been able to que...
      
SELECT SUM (row_count)
FROM sys.dm_db_partition_stats
WHERE object_id=OBJECT_ID('TableName')   
AND (...      
    
MORE

1
Posted by axelson 5 years ago
      
iex> :code.which Tuple
'/Users/jason/.asdf/installs/elixir/1.8.1-otp-21/bin/../lib/elixir/ebin/Elixir...      
    
MORE

2
Posted by michael_andreuzza 5 years ago
It's the material Ui that I use on Colors and Fonts Hope you enjoy it!
      
 /* CSS */
 
 .btn {
        position: relative;
        display: inline-block;
        margin: 5px;
...      
    
MORE

2
Posted by parasite 5 years ago
      
water.css (dark theme) 

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Robo...      
    
MORE

2
Posted by parasite 5 years ago
      

h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong {
    color: #000;
}...      
    
MORE

3
Posted by chipplayer 5 years ago
      
document.write('Hello Wolrd');      
    

2
Posted by michael_andreuzza 5 years ago
Bulma Mega menu HTML mark up
      
<nav class="navbar ">
  <div class="navbar-brand">
    <a class="navbar-item" href="http://bulma.io">...      
    
MORE

1
Posted by axelson 5 years ago
Trace garbage collection of a process with pid `pid`.
      
:dbg.tracer(); :dbg.p(pid, [:garbage_collection])      
    

2
Posted by axelson 5 years ago
      
System.unique_integer([:positive, :monotonic])