Skip to content

Instantly share code, notes, and snippets.

@darrenpmeyer
darrenpmeyer / openconnect-7-ubuntu-build.md
Last active June 10, 2020 16:24
Building OpenConnect 7 on Ubuntu 14 (trusty), 15 (vivid), and 16 (xenial)
View openconnect-7-ubuntu-build.md
@josefglatz
josefglatz / reminder-dirtyTikaAppInstall
Created November 12, 2014 10:26
Dirty install procedure: Precompiled Apache Tika App on Debian (just a reminder)
View reminder-dirtyTikaAppInstall
apt-get update && apt-get install openjdk-7-jdk
mkdir -p /opt/solr-tomcat/tika/
cd /opt/solr-tomcat/tika/
rm ./tika*
wget http://archive.apache.org/dist/tika/tika-app-1.2.jar
chmod +x tika-app-1.2.jar
@staltz
staltz / introrx.md
Last active December 10, 2023 04:50
The introduction to Reactive Programming you've been missing
View introrx.md
@apfelbox
apfelbox / Parser.php
Last active August 12, 2016 09:59
Adjusted parser to render paragraphs which only contain a single image without the paragraph. So instead <p><img ...></p> it just renders<img ...>
View Parser.php
<?php
/**
* Adjusted parser to render paragraphs which only contain a single image without the paragraph.
*
* So instead
* <p><img ...></p>
*
* it just renders
* <img ...>
@rxaviers
rxaviers / gist:7360908
Last active December 10, 2023 08:32
Complete list of github markdown emoji markup
View gist:7360908

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@CMCDragonkai
CMCDragonkai / angularjs_directive_attribute_explanation.md
Last active November 29, 2023 15:35
JS: AngularJS Directive Attribute Binding Explanation
View angularjs_directive_attribute_explanation.md

AngularJS Directive Attribute Binding Explanation

When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.

  1. Raw Attribute Strings

    <div my-directive="some string" another-param="another string"></div>
@isaacs
isaacs / node-and-npm-in-30-seconds.sh
Last active November 17, 2023 16:15
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
View node-and-npm-in-30-seconds.sh
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh