This file contains hidden or 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
jupyterhub --config=/etc/jupyterhub/jupyterhub_config.py |
This file contains hidden or 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 ( | |
"encoding/hex" | |
"fmt" | |
) | |
func main() { | |
msg := "73616d706c652074657874" | |
bs, err := hex.DecodeString(msg) |
This file contains hidden or 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
#Based on http://www.frank-zalkow.de/en/code-snippets/create-audio-spectrograms-with-python.html | |
#This work is licensed under Creative Commons Attribution 3.0 International(Unported), according to the original work. | |
#Original Author: Frank Zalkow | |
#This Version's Author: Francisco Dalla Rosa Soares | |
import numpy as np | |
from matplotlib import pyplot as plt | |
import scipy.io.wavfile as wav | |
from numpy.lib import stride_tricks | |
import math |
This file contains hidden or 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
pip3 install --upgrade notebook jupyterhub |
This file contains hidden or 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
apt install python3 python3-pip |
This file contains hidden or 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( | |
"fmt" | |
"bufio" | |
"os" | |
) | |
func main() { | |
reader := bufio.NewReader(os.Stdin) |
This file contains hidden or 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
. | |
. | |
. | |
<link rel="import" href="../bower_components/app-localize-behavior/app-localize-behavior.html"> | |
. | |
. | |
. | |
<a name="view1" href="/view1">{{localize('hello','a','Batman')}}</a> | |
. | |
. |
This file contains hidden or 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/bash | |
/usr/bin/hcitool con | grep -o 'DEVICE_MAC_ADDRESS' &> /dev/null | |
if [ $? -eq 0 ] | |
then PATH_TO_CHROME --alsa-output-device=softvol "$@" | |
else PATH_TO_CHROME | |
fi |
This file contains hidden or 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<stdio.h> | |
#include<stdlib.h> | |
#include<limits.h> | |
char * int2bin(int i) | |
{ | |
size_t bits = sizeof(int) * CHAR_BIT; | |
char * str = malloc(bits + 1); | |
if(!str) return NULL; |
This file contains hidden or 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 ( | |
"io/ioutil" | |
"log" | |
"strings" | |
) | |
func main() { | |
input, err := ioutil.ReadFile("myfile") |
NewerOlder