The Wayback Machine - https://web.archive.org/web/20160404200234/https://gist.github.com/discover
Skip to content
View OpenCV-Magic
faces = faceCascade.detectMultiScale(
gray,
scaleFactor=1.1,
minNeighbors=4,
minSize=(22, 22),
flags=cv2.CASCADE_SCALE_IMAGE
)
# Draw a rectangle around the faces
for (x, y, w, h) in faces:
View Build Errors
The following errors were automatically identified, please review the full console logs for details:
OS X Errors
Generating moc_ErrorDialog.cpp
CompileC build/libraries/ui/hifi.build/Release/ui.build/Objects-normal/x86_64/ErrorDialog.o libraries/ui/src/ErrorDialog.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
/usr/local/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++11 -stdlib=libc++ -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-3
View Babita.dev.conf
<VirtualHost *:80>
<Directory /home/fabio/Projetos/Contributing/babita/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ServerName babita.dev
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View src_Shapes.java
//:Polymorphism Ex.02
/**
* Exercise 3: (1) Add a new method in the base class of Shapes.java that prints a message, but don’t override it in the
* derived classes. Explain what happens (a). Now override it in one of the derived classes but not the others, and see
* what happens (b). Finally, override it in all the derived classes (c).
*
* a: all derived classes will be using that method cause they're also have it in their interface due to inheritance;
* b: for objects of that particular class and only for them ( and only in case of that particualar method ) will be
* called overrided method. For all other objects ( and other methods of those objects of particular class ) will be
View reverse_hvect.idr
module reverse_hvect
import Data.Vect
import Data.HVect
reverse : HVect ts -> HVect (reverse ts)
reverse [] = []
reverse (x::xs) = (reverse xs) ++ [x]
View gulpfile-boileplate.js
var gulp = require('gulp');
var lessSourceMap = require('gulp-less-sourcemap');
var less = require('gulp-less');
var autoprefixer = require('gulp-autoprefixer');
var stripdebug = require('gulp-strip-debug');
var uglify = require('gulp-uglify');
var debug = require('gulp-debug');
var rename = require('gulp-rename');
var replace = require('gulp-replace');
var concat = require('gulp-concat');
View 1.RegistrySnapshot.xml
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1953236517-242735908-2433092285-500</user>
<keys>
<key installerType="Nsis" displayName="Fiddler" displayVersion="4.6.2.2">
<RegistryView>Registry32</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Fiddler2</KeyPath>
<DefaultValue />
<InstallLocation>C:\Program Files (x86)\Fiddler2</InstallLocation>
<UninstallString>"C:\Program Files (x86)\Fiddler2\uninst.exe"</UninstallString>
View fada-fada.txt
báíocht
báúil
báúlacht
bóín
buíán
búíocht
buíóg
buíú
caíúil
caíúlacht
Something went wrong with that request. Please try again.