Skip to content

Instantly share code, notes, and snippets.

View tillcarlos's full-sized avatar

Till Carlos tillcarlos

View GitHub Profile
#!/bin/bash
# Function to determine if running in CI
is_ci_environment() {
if [ -n "$CI" ] || [ -n "$GITHUB_ACTIONS" ] || [ -n "$CIRCLECI" ] || [ -n "$JENKINS_HOME" ]; then
return 0 # True
else
return 1 # False
fi
}
## My dev agency gets systemized
Notes:
FIRST: slowly go over all slides once. Including the speaker view!
One of my goals for the next quarter is systemizing my agency.
{
"set_attributes":
{
"bug1_server": 1
}
}

Keybase proof

I hereby claim:

  • I am tillcarlos on github.
  • I am tillcarlos (https://keybase.io/tillcarlos) on keybase.
  • I have a public key whose fingerprint is 098D DB4B 3366 7061 F7CE 8894 D67F F34F 072F CC65

To claim this, I am signing this object:

@tillcarlos
tillcarlos / glossarystartest.tex
Created March 18, 2012 09:59
\gls with automatic use of \gls* as a per-glossary setting
\documentclass[german,pagesize,BCOR=0mm,titlepage,toc=bib,headinclude,headsepline]{book}
\tableofcontents
\usepackage[pdfusetitle,pdftex,colorlinks]{hyperref}
% DOCUMENTATION HERE:
% http://www.latex-community.org/know-how/263-glossaries-nomenclature-lists-of-symbols-and-acronyms
% °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
% INCLUDE THIS EVER TIME!!!
%\newglossary[⟨log-ext⟩]{⟨name⟩}{⟨in-ext⟩}{⟨out-ext⟩} {⟨title⟩}[⟨counter ⟩]
\newcommand{\tcbStatus}[2]{
{#2} %display the section title every time!
\progressbar[subdivisions=5, roundnessr=0.5, ticksheight=1, tickswidth=1.5pt]{#1}
\colorbox{xingLightGray}{\color{white}{#1}}
} % / tcbStatus
\section{\tcbStatus{0.3}{Time Series Analysis}}
# http://learnr.wordpress.com/2009/05/18/ggplot2-three-variable-time-series-panel-chart/
# http://www.talkstats.com/showthread.php/21228-time-series-in-ggplot2
# http://had.co.nz/ggplot2/
# http://stats.stackexchange.com/questions/14513/align-multiple-ggplot2-plots-with-grid
# http://wiki.stdout.org/rcookbook/Graphs/Facets%20(ggplot2)
# colors: red: "730202", lightyellow: D5D95B, lightgreen: 4F7302 midgreed=274001 darkgreen=092601
setwd('~/repositories/uni/thesis-repos/Opad4lsssExperiments/r_scripts/')
library(ggplot2)
library(gridExtra)
# run the rake task,
$ rake debug
Connected.
# refresh a page in your browser, your app will break at debugger statements
(rdb:1) p @user
#<User id: 1, name: "David Dollar", email: "ddollar@gmail.com", created_at: "..." >
0 ;) root@rails3:~$ irb1.9.1
irb(main):001:0> require 'rack'
LoadError: no such file to load -- rack
from (irb):1:in `require'
from (irb):1
from /usr/bin/irb1.9.1:12:in `<main>'
irb(main):002:0> require 'rubygems/custom_require'
=> true
irb(main):003:0> require 'rack'
=> true