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
Year: 2012 | |
Name: Sim Hill | |
Population: 269 | |
Mayor: Steve Lombardi Sr. | |
Map: | |
█░░██░░█░██░░░█░█░█░░░░█░██████░░█░░█░ | |
█░░█░█░░░███░░██░█████░░█░░█░░█████░█░ | |
█████░█░██░░███░░░░░███░░█░█░██░░█░░░░ | |
██░░░█░█░█░░░░██░█░░░█░░░██░██░██░██░█ | |
░░░█░███████████░░██░█░█████░█░█░░░░██ |
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
data:text/html, <html contenteditable><title>Notepad</title><body style="padding:1em;font-family:sans-serif;color: #2d2d2d;font-size:1.5em"> |
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
var s = document.createElement('script'); | |
s.src = "http://code.jquery.com/jquery-latest.min.js"; | |
document.body.appendChild(s); |
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
// include the library code: | |
#include <LiquidCrystal.h> | |
#include <Wire.h> | |
#include "ds3231.h" | |
// initialize the library with the numbers of the interface pins | |
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
int sensorValue; |
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
grep -Po "DISTRIB_ID=(\K.*)" /etc/lsb-release |
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
int spk = 0; | |
void setup() {} | |
void loop() { | |
tone(spk,660,100); | |
delay(150); | |
tone(spk,660,100); | |
delay(300); | |
tone(spk,660,100); |
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
(function(){ | |
var code_container = document.createElement("div"); | |
code_container.id = "code_container"; | |
code_container.innerText = document.documentElement.innerHTML; | |
code_container.innerHTML = "<pre><code>"+ code_container.innerHTML + "</code></pre>"; | |
document.body.appendChild(code_container); | |
// More at https://github.com/isagalaev/highlight.js/tree/master/src/styles |
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
org.gradle.daemon=true | |
org.gradle.configureondemand=true | |
org.gradle.parallel=true |
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
var downloadLink = document.createElement('a'); | |
downloadLink.download = true; | |
for(i in document.images) { downloadLink.href = document.images[i].src; downloadLink.click() }; |
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
#!/bin/bash | |
delay=3 | |
while true; do | |
mon_total_down_old=$(cat /proc/net/dev | grep $1 | awk '{print $2}') | |
mon_total_up_old=$(cat /proc/net/dev | grep $1 | awk '{print $10}') | |
sleep 1 | |
mon_total_down=$(cat /proc/net/dev | grep $1 | awk '{print $2}') | |
mon_total_up=$(cat /proc/net/dev | grep $1 | awk '{print $10}') |
OlderNewer