Skip to content

Instantly share code, notes, and snippets.

💭
Decentralize and democratize the Web.

Jacky Alciné jalcine

💭
Decentralize and democratize the Web.
Block or report user

Report or block jalcine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jalcine
jalcine / about.md
Created Aug 9, 2011 — forked from Quebecisnice/about.md
Programming Achievements: How to Level Up as a Developer
View about.md
@jalcine
jalcine / adaptor_init.cpp
Created Oct 12, 2011
The intialization code for WntrData, WntrNtwk, and WntrLing as needed for each of the plugin's init methods.
View adaptor_init.cpp
else if ( s_appMod == "ling" ) {
l_objectName = "Linguistics";
Linguistics::SystemAdaptor* l_adpt = new Linguistics::SystemAdaptor;
registerObject ("/System", l_adpt);
s_adapt = l_adpt;
} else if ( s_appMod == "data" ) {
l_objectName = "Data";
Data::Linguistics::System::setLocale ( Core::arguments ()->value ("locale").toString () );
@jalcine
jalcine / WintermutePlugin.cmake
Created Oct 14, 2011
Represents development information for Wintermute's SDK (i.e.: plug-ins, app integration, DE merging, etc)
View WintermutePlugin.cmake
# Provides a means of creating a plugin for
# Wintermute.
set(WINTER_PLUGIN_INSTALL_DIR "${WINTER_LIB_INSTALL_DIR}/wntr" CACHE PATH "Plugin installation path.")
set(WINTER_PLUGIN_INCLUDE_INSTALL_DIR "${WINTER_INCLUDE_INSTALL_DIR}/plugins" CACHE PATH "Plugin header installation path.")
set(WINTER_PLUGIN_DATA_INSTALL_DIR "${WINTER_DATA_INSTALL_DIR}/plugins" CACHE PATH "Plugin data installation path.")
set(WINTER_PLUGINSPEC_INSTALL_DIR "${WINTER_DATA_INSTALL_DIR}/specs" CACHE PATH "Plugin specification installation path.")
@jalcine
jalcine / plugin.spec
Created Oct 15, 2011
Represents a plugin definition file.
View plugin.spec
# Represents a plugin defiintion file used by Wintermute
# to assist the means of loading settings, plugin arguments
# and etc.
# Plugin namespace
# This namespace holds most of the descriptive information of the plugin.
# @todo We need a place to hold all of the UUIDs that we use for plug-ins, so that we can refer to them.
[Plugin]
Name=PLUGIN_NAME
@jalcine
jalcine / mockup.py
Created Nov 12, 2011
Represents the mock-up for Wintermute
View mockup.py
#!/usr/bin/python
import time
import cmd
print("Wintermute 1.0 (pid 9860) :: Artificial intelligence for common Man. (Licensed under the GPL3+)\n(core) [Factory] Started.\n ")
time.sleep(0.5)
class winty(cmd.Cmd):
def do_events(self,line):
print("It's almost time until your scheduled event with Wintermute Developers at 19:00 EST on Freenode (##sii-dev).")
@jalcine
jalcine / dart.txt
Created Nov 24, 2011 — forked from paulmillr/dart.md
Leaked internal google dart email
View dart.txt
---------- Forwarded message ----------
From: Mark S. Miller <erights@google.com>
Date: Tue, Nov 16, 2010 at 3:44 PM
Subject: "Future of Javascript" doc from our internal "JavaScript Summit"
last week
To: javascript-standard@google.com
On November 10th and 11th, a number of Google teams representing a variety
of viewpoints on client-side languages met to agree on a common vision for
the future of Javascript.
@jalcine
jalcine / latency.txt
Created Jun 1, 2012 — forked from jboner/latency.txt
Latency numbers every programmer should know
View latency.txt
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns
Mutex lock/unlock 25 ns
Main memory reference 100 ns
Compress 1K bytes with Zippy 3,000 ns
Send 2K bytes over 1 Gbps network 20,000 ns
Read 1 MB sequentially from memory 250,000 ns
Round trip within same datacenter 500,000 ns
Disk seek 10,000,000 ns
@jalcine
jalcine / dropdown.js
Created Jun 28, 2012
Dynamic Menu Dropping
View dropdown.js
/* ============================================================
* bootstrap-dropdown.js v2.0.4
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
* ============================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
@jalcine
jalcine / activeadmin-cancan.rb
Created Jul 6, 2012
Deep integration of CanCan into ActiveAdmin
View activeadmin-cancan.rb
# blog post:
module ActiveAdmin
module ViewHelpers
# lib/active_admin/view_helpers/auto_link_helper.rb
def auto_link(resource, link_content = nil)
content = link_content || display_name(resource)
if can?(:read, resource) && registration = active_admin_resource_for(resource.class)
begin
@jalcine
jalcine / gist:3659070
Created Sep 6, 2012 — forked from trevorturk/gist:1756760
Bare minimum html5 template
View gist:3659070
<!DOCTYPE html>
<html>
<head>
<title>title</title>
</head>
<body>
<p>body</p>
</body>
</html>
You can’t perform that action at this time.