show dbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this script samples the distributions of the k closest peers to randomly | |
# selected addresses and saves these to data files | |
import datetime | |
from multiprocessing import Process, Event | |
import os | |
import pprint | |
import random |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"crypto/hmac" | |
"crypto/sha256" | |
"encoding/base64" | |
"fmt" | |
"net/url" | |
"strconv" | |
"text/template" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gauss(x)=a/(sigma*sqrt(2.*pi))*exp(-(x-mu)**2./(2.*sigma**2)) | |
fit gauss(x) ‘gaussTest.dat’ via a, sigma, mu | |
plot "data.csv" u 1:2, gauss(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
![Logo of the project](./images/logo.sample.png) | |
# Name of the project | |
> Additional information or tag line | |
A brief description of your project, what it is used for. | |
## Installing / Getting started | |
A quick introduction of the minimal setup you need to get a hello world up & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import QSlider | |
class DoubleSlider(QSlider): | |
def __init__(self, *args, **kwargs): | |
super().__init__(*args, **kwargs) | |
self.decimals = 5 | |
self._max_int = 10 ** self.decimals | |
super().setMinimum(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -start_number 0052809 -framerate 30 -i G%07d.JPG -c:v libx264 output.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set macro | |
##### Color Palette by Color Scheme Designer | |
##### Palette URL: http://colorschemedesigner.com/#3K40zsOsOK-K- | |
blue_000 = "#A9BDE6" # = rgb(169,189,230) | |
blue_025 = "#7297E6" # = rgb(114,151,230) | |
blue_050 = "#1D4599" # = rgb(29,69,153) | |
blue_075 = "#2F3F60" # = rgb(47,63,96) | |
blue_100 = "#031A49" # = rgb(3,26,73) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <input type="checkbox" id="1"><label for="1"></label> | |
$checkbox-color: white; | |
$checkbox-color-checked: green; | |
input[type="checkbox"] { | |
display: none; | |
& + label:before { | |
background: $checkbox-color; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>Michael Sheets, James Cleveland</string> |
NewerOlder