Just replace nemanjan00-laptop with your hostname, move /usr/bin/dhcpcd to /usr/bin/dhcpcd_old and move dhcpcd to /usr/bin/dhcpcd
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 | |
WIDTH=1366 | |
HIGHT=768 | |
for filename in ~/Pictures/WallpapersOriginal/*.jpg; do | |
filename=$(basename $filename) | |
echo $filename | |
convert ~/Pictures/WallpapersOriginal/$filename -resize $WIDTH -resize ${WIDTH}x$HIGHT^ -gravity center -background black -extent 1366x768 -quality 90 ~/Pictures/Wallpapers/$filename | |
done |
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 xml2js = require('xml2js'); | |
var xml2jsOptions = xml2js.defaults['0.1']; | |
var util = require('util'); | |
var EventEmitter = require('events').EventEmitter; | |
try { | |
// zipfile is an optional dependency: | |
var ZipFile = require("zipfile").ZipFile; | |
} catch (err) { | |
// Mock zipfile using pure-JS adm-zip: |
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
<?php | |
$dir = "~/projects/dnevnik/".date("Y")."/".date("m"); | |
exec("mkdir -p ".$dir); | |
echo $dir."/".date("d").".md"; | |
?> |
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
a2jmidid 8-3 | |
acpi_call-dkms 1.1.0-140 | |
adwaita-qt5 1.0-1 | |
aircrack-ng 1.2-4 | |
airgeddon-git 20180617.r1218-1 | |
alock-git 2.3.r15.g5a3fe6b-1 | |
alsa-utils 1.1.6-1 | |
android-emulator 27.3.8-2 | |
android-tools 8.1.0_r33-1 | |
arandr 0.1.9-2 |
This is something that took me good 2 days to figure out to do properly and is still story in progress, so I have decided to document it.
This file has been truncated, but you can view the full file.
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
[ | |
[{ | |
"country": "AT", | |
"municipality": "Biberwier", | |
"lat": 47.38412659999999, | |
"lng": 10.8939017 | |
}, { | |
"country": "AT", | |
"municipality": "Ehenbichl", | |
"lat": 47.4725694, |
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
source /usr/share/zsh/scripts/zplug/init.zsh | |
zplug "themes/agnoster", from:oh-my-zsh, as:theme | |
zplug "changyuheng/fz", defer:1 | |
zplug "rupa/z", use:z.sh | |
zplug "supercrabtree/k" | |
zplug "plugins/adb", from:oh-my-zsh | |
zplug "plugins/bgnotify", from:oh-my-zsh |
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
const synaptic = require("synaptic"); | |
// input: | |
// hot: 0 - 10 | |
// crazy: 0 - 10 | |
// | |
// output: | |
// no-go: 0/1 | |
// danger-zone: 0/1 | |
// fun-zone: 0/1 |
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
const synaptic = require("synaptic"); | |
// input: | |
// hot: 0 - 10 | |
// crazy: 0 - 10 | |
// | |
// output: | |
// no-go: 0/1 | |
// danger-zone: 0/1 | |
// fun-zone: 0/1 |