Skip to content

Instantly share code, notes, and snippets.

View kahboom's full-sized avatar
🍕
pizza

Rachel Yordán kahboom

🍕
pizza
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kahboom on github.
  • I am ryordan (https://keybase.io/ryordan) on keybase.
  • I have a public key whose fingerprint is 4289 7FE1 5F60 1ACF 6E7D 9C7C DFC0 1E9C 450F 13D3

To claim this, I am signing this object:

@kahboom
kahboom / markdown.md
Created May 2, 2017 17:32 — forked from jonschlinkert/markdown-cheatsheet.md
A better markdown cheatsheet. I used Bootstrap's Base CSS documentation as a reference.

Typography

Headings

Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading
@kahboom
kahboom / git_create_orphan.sh
Created May 8, 2017 15:49 — forked from seanbuscay/git_create_orphan.sh
Create an orphan branch in a repo.
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" > README.md
git add README.md
git commit -a -m "Initial Commit"
git push origin orphan_name
{
"apiEndpoint": "https://ipaas-staging.b6ff.rh-idev.openshiftapps.com/api/v1",
"title": "Syndesis",
"datamapper": {
"baseJavaServiceUrl": "https://ipaas-staging.b6ff.rh-idev.openshiftapps.com/v2/atlas/java/",
"baseMappingServiceUrl": "https://ipaas-staging.b6ff.rh-idev.openshiftapps.com/v2/atlas/"
},
"oauth": {
"clientId": "ipaas-ui",
"scopes": [],
@kahboom
kahboom / example.txt
Created September 28, 2017 18:01
Working with my/someone else's fork
git remote add rachel git@github.com:kahboom/syndesis-ui.git
git fetch rachel
git checkout --track rachel/952-github-oauth
// To get any changes I make:
git checkout 952-github-oauth
git pull
export COOKIE='' # the value of _oauth_proxy cookie from browser
curl -k -H "Cookie: _oauth_proxy=$COOKIE" -H 'Accept: application/json' -H 'Content-Type: application/json' -XPOST -d @new-petstore-api-connector.json https://syndesis.$(minishift ip).nip.io/api/v1/connectors/custom
echo $(oc exec $(pod=$(oc get pod -o=name -l component=syndesis-rest); echo ${pod#pods/}) -- unzip -c runtime.jar META-INF/MANIFEST.MF|grep '^Git-Commit-Id:')
git rev-parse HEAD
@kahboom
kahboom / irc.md
Created August 1, 2018 15:21 — forked from xero/irc.md
irc cheat sheet

#IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

##The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
    • Leaves the specified channel.
@kahboom
kahboom / script.sh
Created November 14, 2018 11:59 — forked from cheungnj/script.sh
Convert asciidoc to Github Flavored Markdown
# Adapted from https://tinyapps.org/blog/nix/201701240700_convert_asciidoc_to_markdown.html
# Using asciidoctor 1.5.6.1 and pandoc 2.0.0.1
# Install pandoc and asciidoctor
$ sudo apt install asciidoctor
$ sudo wget https://github.com/jgm/pandoc/releases/download/2.0.0.1/pandoc-2.0.0.1-1-amd64.deb
$ sudo dpkg -i pandoc-2.0.0.1-1-amd64.deb
# Convert asciidoc to docbook using asciidoctor
@kahboom
kahboom / linebreak.md
Created November 19, 2018 12:37
Line breaks in markdown
Hello  (<-- two spaces)
World

Hello
World