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
git config --global alias.lola "log --graph --decorate --pretty=oneline --abbrev-commit --all" |
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
[ | |
{ | |
"fileType": "D", | |
"lastModifiedDate": 1484286754241, | |
"name": "bar", | |
"path": "/bar", | |
"size": 0.0 | |
}, | |
{ | |
"fileType": "D", |
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
[{ | |
"total": { | |
"currencyIso": "USD", | |
"priceType": "BUY", | |
"value": 6100.00, | |
"maxQuantity": null, | |
"minQuantity": null, | |
"formattedValue": "$6,100.00" | |
}, | |
"guid": null, |
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
[{ | |
"total": { | |
"currencyIso": "USD", | |
"priceType": "BUY", | |
"value": 6100.00, | |
"maxQuantity": null, | |
"minQuantity": null, | |
"formattedValue": "$6,100.00" | |
}, | |
"guid": null, |
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 __future__ import division | |
from numpy.fft import rfft | |
from numpy import argmax, mean, diff, log | |
from matplotlib.mlab import find | |
from scipy.signal import blackmanharris, fftconvolve | |
from time import time | |
import sys | |
try: | |
import soundfile as sf | |
except ImportError: |
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
#!/usr/bin/python | |
import paho.mqtt.client as paho | |
import os | |
import socket | |
import ssl | |
from time import sleep | |
from random import uniform | |
connflag = False |
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
/* | |
* eHealth sensor platform for Arduino and Raspberry from Cooking-hacks. | |
* | |
* Description: "The e-Health Sensor Shield allows Arduino and Raspberry Pi | |
* users to perform biometric and medical applications by using 9 different | |
* sensors: Pulse and Oxygen in Blood Sensor (SPO2), Airflow Sensor (Breathing), | |
* Body Temperature, Electrocardiogram Sensor (ECG), Glucometer, Galvanic Skin | |
* Response Sensor (GSR - Sweating), Blood Pressure (Sphygmomanometer) and | |
* Patient Position (Accelerometer)." | |
* |
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
import javax.jms.*; | |
import org.apache.activemq.ActiveMQConnection; | |
import org.apache.activemq.ActiveMQConnectionFactory; | |
public class Consumer { | |
static String topicName = "foo"; | |
public static void main(String[] args) throws JMSException { | |
// Getting JMS connection from the server |
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
import sys | |
from urllib import urlencode | |
import requests | |
from urlparse import urlparse, parse_qs | |
from random import choice | |
import re | |
self_id = None # your facebook id here | |
utc_bday = None # utc timestamp of your birthday |
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
// http://www.razorsql.com/articles/oracle_system_queries.html | |
The following contains information on how to retrieve database information for Oracle objects such as tables, views, indexes, packages, procedures, functions, and triggers. The queries all query the Oracle system views located in the SYS schema. | |
Tables | |
This is a query to get all Oracle tables that can be viewed by the current user. | |
select TABLE_NAME, OWNER from SYS.ALL_TABLES order by OWNER, TABLE_NAME |
NewerOlder