Skip to content

Instantly share code, notes, and snippets.

View akem3210's full-sized avatar
👀

akem akem3210

👀
  • France
View GitHub Profile
#!/usr/bin/env ruby
require 'timeout'
require 'io/console'
print "Testing timeout with getc..."
Timeout.timeout(3) do
input = STDIN.getch
rescue Timeout::Error => msg
puts "ERROR:_input"
puts "Timeout:#{msg}"
akem@akem-HP:/tmp$ echo "!!"
echo "cd /tmp/"
cd /tmp/
akem@akem-HP:/tmp$ echo "!!!"
echo "echo "cd /tmp/"!"
echo cd /tmp/!
akem@akem-HP:/tmp$
1,001 Basic Math and Pre-Algebra Practice Problems For Dummies (Math & Science) -Mantesh.torrent
100.Degrees.Below.Zero.2013.STV.FRENCH.BDRip.XViD-eVe.torrent
100 Greatest Dance Hits Of The 90s (2010).torrent
100 Hentai pictures 1.torrent
100 Hentai pictures.torrent
100 Hits - Mexico Latin, American, Caribian and Reggae Music.torrent
100 Most Amazing Collection of Computer Desktop Wallpaper - Set 661 [ECLiPSE].torrent
100 Most Amazing Computer Desktop Wallpaper Collection - Set 652 [ECLiPSE].torrent
1209 - Le.combat.avi.torrent
122 Movie Posters (High Resolution).torrent
# do-release-upgrade -d
Checking for a new Ubuntu release
Upgrades to the development release are only
available from the latest supported release.
akem@akem-HP:~/SOURCES/pyvoicechanger$ python pyvoicechanger.py
File "pyvoicechanger.py", line 73
lambda: self.control.setToolTip(f"<b>{self.control.value()}"))
^
SyntaxError: invalid syntax
require 'open-uri'
def getYTB(url = "http://www.youtube.com/results?search_query=#{URI.escape('cool stuff')}")
begin
source = open(url, &:read)
rescue Exception => e
return "#{e}"
end
#puts source
i=0
akem@akem-HP:~$ vlc /mnt/D/chumbala\ cachumbala-qejwTHU4kBA.mkv
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[000056163a6f0630] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: D-Bus system tray: no
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
session.screen0.iconbar.usePixmap: true
session.screen0.iconbar.alignment: Left
session.screen0.iconbar.iconWidth: 128
session.screen0.iconbar.mode: {static groups} (workspace)
session.screen0.iconbar.iconTextPadding: 10
session.screen0.clientMenu.usePixmap: true
session.screen0.window.focus.alpha: 255
session.screen0.window.unfocus.alpha: 255
session.screen0.menu.alpha: 255
session.screen0.titlebar.left: Stick
[ 0.000000] Linux version 5.4.6 (akem@akem-HP) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #2 SMP Thu Dec 26 03:14:01 CET 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.4.6 root=UUID=f2175236-f8fb-4858-a9e5-61363d9bda43 ro resume=UUID=f2175236-f8fb-4858-a9e5-61363d9bda43 resume_offset=17178624 pci=noaer noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] zhaoxin Shanghai
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
read(9, "require \"./load_me.rb\"\n\nputs \"Do"..., 8192) = 37
lstat("/home/akem/ruby_test/test_load_me.rb", {st_mode=S_IFREG|0775, st_size=37, ...}) = 0
openat(AT_FDCWD, "./load_me.rb", O_RDONLY|O_NONBLOCK|O_CLOEXEC) = 9