The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
// Bootstrap wants jQuery global =( | |
window.jQuery = $ = require('jquery') | |
// Bootstrap doesn't have a "main" field / export anything =( | |
var bootstrap = require('bootstrap/dist/js/bootstrap') | |
// Get Bootstrap styles with cssify | |
var style = require('./node_modules/bootstrap/dist/css/bootstrap.css') | |
var popover = document.createElement('span') | |
popover.innerHTML = 'I have a popover' |
$sudo apt-get install libopencv-dev | |
$mkdir hellocv | |
$cd hellocv | |
$mkdir lib | |
#get opencv-2XX.jar and copy into hellocv/lib | |
#sudo dpkg -L libopencv-dev | |
$cp /usr/share/OpenCV/java/opencv-248.jar lib/ | |
$sbt run |
[adrian@localhost ~]$ cat /tmp/alsa-info.txt.LwuI5O5q82 | |
upload=true&script=true&cardinfo= | |
!!################################ | |
!!ALSA Information Script v 0.4.64 | |
!!################################ | |
!!Script ran on: Sat Mar 5 09:11:29 UTC 2016 | |
!!Linux Distribution |
(ns braintree-clj.core | |
(:import [com.braintreegateway BraintreeGateway Environment TransactionRequest Transaction$Type]) | |
(:require [clojure.string :as s] | |
[hiccup.core :as hiccup] | |
[hiccup.page-helpers :as page-helper] | |
[noir.core :as noir] | |
[noir.request :as noir-req] |
// ==UserScript== | |
// @name 990Movie | |
// @namespace redpoppy | |
// @description Corrects 990 movies to bypass shortening | |
// @include http://990.ro/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var links = document.querySelector('a[href*="mastervid.com"]'); | |
if (typeof links[0] === 'undefined') { |
import pdb | |
""" | |
Algoritmul Bellman-Ford | |
Explicatii: | |
iter(graph) returneaza toate nodurile | |
iter(graph[u]) returneaza nodul vecin lui u | |
graph[u][v] returneaza ponderea muchiei (u, v) | |
""" |
#!/bin/bash | |
find . -type f -print0 | xargs -0 chmod 644 |
<?php | |
ini_set('display_errors', true); | |
require '../vendor/autoload.php'; | |
use Symfony\Component\Translation\Loader\PoFileLoader, | |
Symfony\Component\Translation\MessageCatalogue, | |
Symfony\Component\Translation\Dumper\YamlFileDumper, | |
Symfony\Component\Translation\Dumper\XliffFileDumper; | |
use Symfony\Component\Yaml\Yaml; |
<?php | |
ini_set('display_errors', true); | |
require '../vendor/autoload.php'; | |
use Symfony\Component\Translation\Loader\YamlFileLoader, | |
Symfony\Component\Translation\Loader\XliffFileLoader, | |
Symfony\Component\Translation\MessageCatalogue, | |
Symfony\Component\Translation\Dumper\PoFileDumper; | |
use Symfony\Component\Yaml\Yaml; |