- Käännä vipukytkin automaatin sisällä ohjelmointiasentoon (pppp)
- Enter
- valitse rivi (+/-)
- Enter
- valitse hinta (+/-)
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 | |
# cryptsync.sh - a simple script for keeping an encrypted backup of a folder | |
# | |
# Author: Rasmus Sten <cryptsync@dll.nu> | |
# | |
# For example, to make an encrypted backup of my ~/Documents folder to Dropbox: | |
# | |
# ./cryptsync.sh --init ~/Documents/ ~/Dropbox/ | |
# |
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/sh | |
logmessage="" | |
git log >git.log | |
if grep -i implemented git.log >/dev/null 2>&1; then | |
logmessage="improvements" | |
fi | |
if grep -i fixed git.log >/dev/null 2>&1; then | |
[ -n "$logmessage" ] && logmessage="$logmessage and " | |
logmessage="${logmessage}bug fixes" | |
fi |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#DEFINE BUFSIZE 100 | |
#DEFINE UNCODECMD "uncore %s %s core.%d" | |
/* Save program state as executable. Name of saved file is savename, returns 0 on success. */ | |
int save(char *savename) | |
{ |
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
FOO=42 | |
BAR=$(FOO) | |
BAR2:=$(FOO) | |
FOO=37 | |
test: | |
echo "$(BAR)" | |
echo "$(BAR2)" |
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 <stdio.h> | |
#include <stdio.h> | |
char *groot="I am Groot. "; | |
void grootstream(FILE *stream) | |
{ | |
int count=0; | |
int len=strlen(groot); |
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 resolveAfter2Seconds(x) { | |
return new Promise(resolve => { | |
setTimeout(() => { | |
resolve(x); | |
}, 2000); | |
}); | |
} | |
async function f1() { | |
var x = await resolveAfter2Seconds(10); |
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
[ 3.928145] usb 1-1.3: new full-speed USB device number 5 using dwc_otg | |
[ 4.018156] usb 1-1.3: device descriptor read/64, error -32 | |
[ 4.208159] usb 1-1.3: device descriptor read/64, error -32 | |
[ 4.408171] usb 1-1.3: new full-speed USB device number 6 using dwc_otg | |
[ 4.518116] usb 1-1.3: device descriptor read/64, error -32 | |
[ 4.708075] usb 1-1.3: device descriptor read/64, error -32 | |
[ 4.897959] usb 1-1.3: new full-speed USB device number 7 using dwc_otg | |
[ 5.317852] usb 1-1.3: device not accepting address 7, error -32 | |
[ 5.417948] usb 1-1.3: new full-speed USB device number 8 using dwc_otg | |
[ 5.837878] usb 1-1.3: device not accepting address 8, error -32 |
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
1 x 3D-Prima HIPS Filament - 3mm - 1 kg spool - Black | |
ID: 20373 | |
EUR 19,90 | |
------------------------------------------------------------- | |
1 x 3D-Prima TPE Flexible Filament - 3mm - 1 kg spool - Green | |
ID: 20418 | |
EUR 19,90 | |
------------------------------------------------------------- |
I hereby claim:
- I am jautero on github.
- I am jautero (https://keybase.io/jautero) on keybase.
- I have a public key ASADFVe5XG89MhXsaFazoulL-nqxjufOfLDiznmDpOa2_wo
To claim this, I am signing this object:
OlderNewer