Bit Feed


1
Posted by albydarned 19 days 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

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

1
Posted by michael_andreuzza 1 month 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 1 month ago
      
water.css (dark theme) 

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

2
Posted by parasite 1 month ago
      

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

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

3
Posted by chipplayer 1 month ago
      
document.write('Hello Wolrd');      
    

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

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

1
Posted by axelson 1 month ago
      
System.unique_integer([:positive, :monotonic])      
    

1
Posted by albydarned 1 month ago
      
<?php echo "Hello there, world!" ?>      
    

0
Posted by albydarned 1 month ago
Useful snippet for converting millisecond timestamp to date in MS SQL Server
      
DECLARE @UTC BIGINT
SET @UTC = 1348203320997 

-- This is a comment

SELECT DATEADD(MILLISECOND, @UTC...      
    
MORE

2
Posted by albydarned 2 months ago
From pythonforbeginners.com
      
# Import the modules
import sys
import random

ans = True

while ans:
    question = raw_input("Ask t...      
    
MORE