Skip to content

Instantly share code, notes, and snippets.

View paveljurca's full-sized avatar
🎯
Focusing

Pavel paveljurca

🎯
Focusing
View GitHub Profile
@paveljurca
paveljurca / twt_edu_en.txt
Created January 23, 2018 14:47
Twitter handles on education
https://twitter.com/Rangerdavie
https://twitter.com/voicethread
https://twitter.com/LRHegarty
https://twitter.com/dianadell
https://twitter.com/WeAreTeachers
https://twitter.com/rkiker
https://twitter.com/gaschoolsnews
https://twitter.com/21stCenturyTch
https://twitter.com/USNewsEducation
https://twitter.com/LEGO_Education
use v5.18;
my $i;
for (qw{
http://prehravac.rozhlas.cz/audio/3501884
http://prehravac.rozhlas.cz/audio/3501885
http://prehravac.rozhlas.cz/audio/3501886
http://prehravac.rozhlas.cz/audio/3501887
}) {
use strict;
use warnings;
# [ Ctrl^Z ] to stop
for (<DATA>) {open PAGE, "|less";print PAGE `w3m $_ -dump -cols 50`;}
__DATA__
http://www.mamnapad.cz/predstavujeme-startup-entoo-realis-komunitni-a-socialni-sit-pro-zakladni-a-stredni-skoly/
http://www.huffingtonpost.com/tom-vander-ark/push-learning-how-smart-n_b_7209238.html
http://buytaert.net/the-big-reverse-of-the-web
@paveljurca
paveljurca / gist:9093355162b7a17c6575a2839c7e1a2d
Last active December 17, 2017 14:55
zypper repos --details
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
---+---------------------------+------------------------------------+---------+---------+----------+--------+----------------------------------------------------------------------------------+--------
1 | google-chrome | google-chrome | Yes | Yes | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
2 | openSUSE-13.1-1.19 | openSUSE-13.1-1.19 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GSA-T50N_M2S96334523,/dev/sr0 |
3 | packman-essentials | packman-essentials | Yes | Yes | 100 | rpm-md | http://packman.inode.at/suse/openSUSE_13.1/Essentials/ |
4 | repo-debug
@paveljurca
paveljurca / allow_all.sh
Created December 8, 2017 16:33
iptables
iptables-save > ~/firewall_ipv4.txt
iptables -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
# see also iptables-restore
#iptables-apply -t 10 ~/firewall_ipv4.xml
use open qw/:std :utf8/;
use utf8;
#use v5.14.2;
#31
my @cols = (B..Z,"AA","AB","AC","AD","AE","AF");
my $fn = q[KDYŽ(*7="D";12;KDYŽ(*7="N";12;KDYŽ(*7="R6";6;KDYŽ(*7="O6";6;*7))));];
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions]
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\pavel]
"Present"=dword:00000001
"HostName"=""
"LogFileName"="putty.log"
"LogType"=dword:00000000
"LogFileClash"=dword:ffffffff
login = Inputbox("Zadejte uživatelské jméno","Domovský adresář")
CreateObject("shell.application").Open("\\ad\HOME\" & login)
'REM
'CreateObject("WScript.Network").MapNetworkDrive "X:", "\\adfile\home\" & login, False, "AD\" & login