Skip to content

Instantly share code, notes, and snippets.

@leonardofaria
leonardofaria / github-actions-light-theme.js
Created May 11, 2025 23:07
GitHub Actions - Light theme
// ==UserScript==
// @name GitHub Actions - Light theme
// @namespace http://tampermonkey.net/
// @version 2024-06-23
// @description Remove data-dark-theme attributes from GitHub Actions console
// @author masayoshi haruta
// @match https://github.com/*/*/actions/runs/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com
// @grant none
// ==/UserScript==
{
"name": "Thinkific",
"description": "Thinkific Architecture",
"elements": [
{
"tag": "Element",
"shape": "RoundedBox"
},
{
"tag": "Software System",
Show spoilers

You can use the <details> and <summary> tags inside GH issues and pull requests.

puts "That is awesome".upcase
@leonardofaria
leonardofaria / firebug.js
Created March 8, 2019 18:32
Firebug bookmarklet - save this as a bookmark to embed Firebug in a page
javascript:var firebug=document.createElement('script');firebug.setAttribute('src','http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js');document.body.appendChild(firebug);(function(){if(window.firebug.version){firebug.init();}else{setTimeout(arguments.callee);}})();void(firebug);
ffmpeg -f avfoundation -i ":0" -t 200 audiocapture.mp3

FAQ - Mobile App Design and Development

Várias pessoas me mandam mensagens perguntando sobre o curso Web and Mobile App Design and Development da Langara. Gente da Rússia, da Índia e de todo lado então decidi criar esse FAQ já que as perguntas são as mesmas.

TL,DR: nem tudo é um mar de rosas mas isso não é um problema exclusivo desse curso ou dessa instituição.

DISCLAIMER: antes de fazer esse curso eu já trabalhava como desenvolvedor web portanto minha opinião é de uma pessoa com mais experiência do mundo real do que muitos professores (não só da Langara).

DISCLAIMER 2: fui aluno da primeira turma portanto minha turma foi beta. E obviamente betas não funcionam bem (não só da Langara).

@leonardofaria
leonardofaria / init.coffee
Last active August 4, 2020 20:58
My Atom settings - automatic update by http://atom.io/packages/sync-settings
# initialization file (not found)

Themes / UI related

  • native-ui: macOS-like
  • cobalt2: the same colour scheme (Cobalt) that I use everywhere
  • file-icons
  • fonts: give me the same font (Meslo) that I use everywhere

Packages

  • atom-beautify
  • atom-ternjs: autocomplete JS
  • auto-update-packages
@leonardofaria
leonardofaria / about.js
Created August 31, 2016 05:30
Javascript module loader
var App = App || {};
App.About = (function(document) {
'use strict';
var init = function() {
console.log('about init called()');
};
@leonardofaria
leonardofaria / example.rb
Created August 4, 2016 16:43
Time Calculation using Ruby
require_relative './time_calculation.rb'
distance = Time.new - Time.parse('2016-1-1')
puts TimeCalculation.humanize(distance)+"\r"
Date_of_birth = '1888-2-15'
3.times do
distance = Time.new - Time.parse(Date_of_birth)
puts TimeCalculation.humanize(distance, false)+"\r"
sleep 1