Skip to content

Instantly share code, notes, and snippets.

View adrianomelo's full-sized avatar

Adriano Melo adrianomelo

View GitHub Profile

[Know about it][Understanding][Clear understanding]

NOVICE

CONCEPTS

  • xxx Immutable Data
  • xxx Second-Order Functions
  • xxx Constructing & Destructuring
  • xxx Function Composition
  • xxx First-Class Functions & Lambdas
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.statusbar"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-sdk
android:minSdkVersion="16"
@adrianomelo
adrianomelo / gist:207c4da2f50744f04c9d
Created August 31, 2015 20:54
Simple expert system - Animal
% -*- mode: Prolog -*-
% (c) J. R. Fisher.
% http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/2_17.html
% Animal identification rules
% To run, type go.
go :- hypothesize(Animal),
write('I guess that the animal is: '),
@adrianomelo
adrianomelo / gist:865114
Created March 10, 2011 22:49
Script de instalação de dependencias para o WSL
# python
sudo aptitude install python2.6 \
# blender
blender \
# linux básico
virtualbox-ose \
# django
python-django \
# QtQuick
gedit-plugins \
marcelcaraciolo
onde se lista todos os encontros do grupo como uma maneira de hot site
nao
teria os links de hotsites de todos os encontros
anteriores
e o principal em destaque la
21:16
lucrodsilva
galera, eu preciso sair, marquem um dia pra gente se reunir, desde que não seja nessa sexta =P
21:16
@adrianomelo
adrianomelo / gist:825913
Created February 14, 2011 14:06
glib error
/root/LDC/build/elf/librtld.os(.text+0x9740): In function `_dl_lookup_symbol_x':
/root/gcc-ldc/glibc-2.6/elf/dl-lookup.c:106: undefined reference to `__sync_fetch_and_add_4'
/root/LDC/build/elf/librtld.os(.text+0x97a3):/root/gcc-ldc/glibc-2.6/elf/dl-lookup.c:110: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0xcd91): In function `_dl_profile_fixup':
/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:196: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0xcdf8):/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:205: undefined reference to `__sync_fetch_and_add_4'
/root/LDC/build/elf/librtld.os(.text+0xd03a): In function `_dl_fixup':
/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:102: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0xd09e):/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:110: undefined reference to `__sync_fetch_and_add_4'
/root/LDC/build/elf/librtld.os(.text+0x1189b): In function `dl_open_worker'