Skip to content

Instantly share code, notes, and snippets.

@yunga
yunga / oscillo.pl
Last active August 29, 2015 14:12 — forked from windytan/oscillo.pl
use warnings;
use Getopt::Std;
getopt('xytGgwsf',\%opts);
# pcm file = $opts{f}
# samples per pixel x
$xscale = $opts{x} // 1200;
@yunga
yunga / Text-To-Speech.vbs
Created August 17, 2015 23:24
Use the speech api to say the clipboard content or the text entered in the input box
' Use the speech api to say the clipboard content or the text entered in the input box
Dim Message, Clip, SAPI
' Get Clipboard Text
Set objHTML = CreateObject("htmlfile")
Clip = objHTML.ParentWindow.ClipboardData.GetData("text")
If Clip = "" or IsEmpty(Clip) or IsNull(Clip) Then
Clip = "Hello World!"
End If
@yunga
yunga / 0_reuse_code.js
Created September 2, 2016 17:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@yunga
yunga / PodcastScience.md
Last active March 10, 2017 19:31
Liste des épisodes de http://PodcastScience.fm
  • 287 – 2017-03-09 - Hygiène mentale: On reçoit cette semaine Christophe, qui a créé Hygiène mentale, une chaine youtube d’auto-défense. Mais ici, pas de cours de Krav maga ou de jujjitsu, il s’agit d’auto-défense intellectuelle. Christophe veut vous vous donner les outils pour apprendre à vous y retrouver sur internet, et vous permettre de séparer le vrai du faux. L’interview de la semaine...
  • 286 – 2017-03-07 - Ma thèse en 10 min: Bonsoir à tous ! Ils sont huit, et ils sont doctorants et doctorantes en science. Autrement dit, ils sont en train de faire leurs thèses pour obtenir le oh combien glamour titre de “docteur”. Ils effectuent leurs travaux de recherche en chimie, physique, biologie, informatique, astrophysique, ou bien encore en paléontologie. Et pour Podcast Science...
  • [285 – 2017-03-02 - L’interview d’Irène](http://w
@yunga
yunga / !Colors.md
Created May 27, 2017 23:16
Some palettes and named colors gathered while surfing...

Colors

Content of color palettes

The color palette files are tabs separated values.

Fields:

  • The first field always contains the color in the #RRGGBB format
  • The second field is an arbitrary palette name
@yunga
yunga / ggimgs.pl
Last active March 11, 2019 22:25
Get Google Images search results.
#!/usr/bin/perl
use Mojolicious::Lite;
use Mojo::Util qw(url_escape url_unescape);
use File::Path qw(make_path);
use Getopt::Std;
##### Available colors and sizes on google image search ###
my %color = (
full => "ic:color", bw => "ic:gray", any => "",