Skip to content

Instantly share code, notes, and snippets.

View KaiSforza's full-sized avatar
🔁

Kai Sforza KaiSforza

🔁
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kaisforza on github.
  • I am kaictl (https://keybase.io/kaictl) on keybase.
  • I have a public key ASALbcxC-TQZ4Bj8rObU0tYXnxNIlZqt0NHM15C8i1fEqgo

To claim this, I am signing this object:

# !/bin/bash
# Script recherche
# TP4 420-225-LI Hiver 2016
# Bénédict Brossard
__USERS=()
while true; do
read __USERNAME
[[ -n "${__USERNAME}" ]] && __USERS=(${__USERS[@]} "$__USERNAME") || break
done

Keybase proof

I hereby claim:

  • I am kaisforza on github.
  • I am kaictl (https://keybase.io/kaictl) on keybase.
  • I have a public key whose fingerprint is F73F 50EF BBE2 9846 8306 E6B8 6902 06D8 73CD 09CF

To claim this, I am signing this object:

You chose: grass
Input coordinates: a0
Traceback (most recent call last):
File "triplehax.py", line 20, in getinput
if int(key) in pieces:
ValueError: invalid literal for int() with base 10: 'T'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
@KaiSforza
KaiSforza / gist:3982637
Created October 30, 2012 20:04
bad rdns
Starting Nmap 6.01 ( http://nmap.org ) at 2012-10-30 13:03 MST
Nmap scan report for forum.sakugara.com (69.174.48.228)
Host is up (0.058s latency).
rDNS record for 69.174.48.228: ecbiz124.inmotionhosting.com
Not shown: 959 filtered ports, 29 closed ports
PORT STATE SERVICE
21/tcp open ftp
25/tcp open smtp
53/tcp open domain
**** BEGIN LOGGING AT Sun Jun 3 15:35:48 2012
Jun 03 15:35:48 * Now talking on ##linux-ops
Jun 03 15:35:48 * Topic for ##linux-ops is: PM WildPikachu with your thoughts about adding forums for ##linux | This is the administrative channel for ##Linux, we do not provide Linux support here. | This is a family-UNFRIENDLY channel !
Jun 03 15:35:48 * Topic for ##linux-ops set by WildPikachu at Thu Jan 5 15:38:50 2012
Jun 03 15:35:52 * Urchin (~urchin@unaffiliated/urchin) has joined ##linux-ops
Jun 03 15:37:21 <wN> sauvin: that was pretty lame.
Jun 03 15:38:01 <sauvin> I said "the subject is closed". Was this not clear?
Jun 03 15:38:13 <catphish> the rule isn't changing, trust me
Jun 03 15:39:05 <wN> the facts that 'subjects can be closed' in a community that has values in openness is stupid. especially when it comes to a subject such as a type of technology
@KaiSforza
KaiSforza / gist:3897129
Created October 16, 2012 03:43
what powertop should say (kernel 3.5.6-1-ARCH)
Package | Core | CPU 0 CPU 1
| | Actual 1335 MHz 1153 MHz
Turbo Mode 1.0% | Turbo Mode 0.9% | Turbo Mode 0.8% 0.1%
2.50 GHz 0.0% | 2.50 GHz 0.0% | 2.50 GHz 0.0% 0.0%
2.21 GHz 0.0% | 2.21 GHz 0.0% | 2.21 GHz 0.0% 0.0%
2.00 GHz 0.0% | 2.00 GHz 0.0% | 2.00 GHz 0.0% 0.0%
1.80 GHz 0.0% | 1.80 GHz 0.0% | 1.80 GHz 0.0% 0.0%
1.60 GHz 0.0% | 1.60 GHz 0.0% | 1.60 GHz 0.0% 0.0%
1400 MHz 0.0% | 1400 MHz 0.0% | 1400 MHz 0.0% 0.0%
1200 MHz 0.2% | 1200 MHz 0.2% | 1200 MHz 0.2% 0.0%
nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak',
re.sub ('sent_mail', 'sent',
re.sub ('starred', 'flagged',
re.sub (' ', '_', foldername.lower()))))
Unable to connect to libvirt.
authentication failed: polkit\56retains_authorization_after_challenge=1
Authorization requires authentication but no agent is available.
Libvirt URI is: qemu:///system
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1027, in _open_thread
self.vmm = self._try_open()