Skip to content

Instantly share code, notes, and snippets.

View jalcine's full-sized avatar
💭
Decentralize and democratize the Web.

Jacky Alciné jalcine

💭
Decentralize and democratize the Web.
View GitHub Profile
@jalcine
jalcine / .gitignore
Last active March 18, 2024 07:20
Getting libuv and zeromq working together (polling setup)
build
~ λ _ strace -p $FIREFOX_PID
strace: Process 25668 attached
strace: [ Process PID=25668 runs in x32 mode. ]
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TKILL, si_pid=25668, si_uid=1000} ---
strace: [ Process PID=25668 runs in 64 bit mode. ]
rt_sigreturn({mask=[]}) = 0
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TKILL, si_pid=25668, si_uid=1000} ---
rt_sigreturn({mask=[]}) = 140720930945712
--- SIGVTALRM {si_signo=SIGVTALRM, si_code=SI_TKILL, si_pid=25668, si_uid=1000} ---
rt_sigreturn({mask=[]}) = 140247581681664
@jalcine
jalcine / livedemo.gtk.py
Created January 7, 2013 12:22
Automatic speech recognition with PocketSphinx and GStreamer.
#!/usr/bin/env python
# Copyright (c) 2008 Carnegie Mellon University.
#
# You may modify and redistribute this file under the same terms as
# the CMU Sphinx system. See
# http://cmusphinx.sourceforge.net/html/LICENSE for more information.
import pygtk
pygtk.require('2.0')
@jalcine
jalcine / conf.d-gzip.conf
Last active June 6, 2020 21:48
microformat2 nginx configuration.
# vim: set ft=nginx :
# Enable compression.
gzip on;
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types image/* text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
@jalcine
jalcine / AndroidManifext.xml
Created October 11, 2012 07:04 — forked from komamitsu/AndroidManifext.xml
Android Simple web server using NanoHTTPD (http://elonen.iki.fi/code/nanohttpd)
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
QString extractUserName(const QString& path) {
const auto parts = path.split("/", QString::SkipEmptyParts);
if (path.startsWith("/@")) {
return parts.first();
}
if (path.startsWith("/users")) {
return parts.last();
}
@jalcine
jalcine / ThingsIWant.markdown
Last active December 1, 2017 22:02
Scratchpad

Things I Want

The following is a list of things I'd like to have or would like to do to make my life a tad bit easier. Under it, I've marked off my acknowledgment (not really the completion date of) said items.

  1. A compatible equivalent for Vagrant Manager for KDE/Linux.
  2. Better management for forwarding SSH keys between tmux. done
  3. Pull out publicly available files for KDE into a kderc repository. done
  4. Incorporate this into my dotfiles https://github.com/bchretien/Gdbinit
So while doing some roadmap planning for GoodForPoc's API, I noticed a few
things that were coming up that could lead into potential issues. One notably is
how we would handle authentication and authorization. There's the option of
using Warden, a Rack-based authentication (with subtle authorization
capabilities) for Sinatra, but we'd have to write a lot of this logic by hand.
It'd be nice to leverage the community's work in the land of Devise or OmniAuth
here. That plus adding any form of social login tool would also have to be
written by hand for the project.
Migrations and data loading is also done a bit by hand (though made easier

Keybase proof

I hereby claim:

  • I am jalcine on github.
  • I am jackyalcine (https://keybase.io/jackyalcine) on keybase.
  • I have a public key ASAtgza3H2biYzp31HcDnfJ83FcpYgbdw8cm6rf8WRBMIgo

To claim this, I am signing this object:

@jalcine
jalcine / Contract Killer 3.md
Created May 22, 2017 21:31 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post