Finishing this guide you'll get:
- A running WordPress installation
- Nginx proxy with PHP and Fast CGI
- MySQL server accessible with phpMyAdmin
Specification of latest running installation:
- Date: 03.03.2014
| <?php | |
| use Aws\Common\Aws; | |
| use Aws\S3\Exception\S3Exception; | |
| // make sure the SDK is installed | |
| // I've used Composer to autoload it: http://docs.aws.amazon.com/aws-sdk-php/guide/latest/installation.html | |
| /* | |
| * jQuery File Upload Plugin PHP Class 7.1.0 | |
| * https://github.com/blueimp/jQuery-File-Upload |
Finishing this guide you'll get:
Specification of latest running installation:
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
| PoC implementation of a brute force attack against WPS - PIN External Registrar | |
| My test environment was Backtrack 5R1 + an Atheros USB adapter. | |
| I used a mac80211/carl9170 driver but any mac80211-based driver should be ok. | |
| DEPENDENCIES: | |
| PyCrypto | |
| Scapy (2.2.0) (does not come with Backtrack) | |
| USAGE: |
| // To the extent possible under law, the Yawning Angel has waived all copyright | |
| // and related or neighboring rights to orhttp_example, using the creative | |
| // commons "cc0" public domain dedication. See LICENSE or | |
| // <http://creativecommons.org/publicdomain/zero/1.0/> for full details. | |
| package main | |
| import ( | |
| // Things needed by the actual interface. | |
| "golang.org/x/net/proxy" |
##git mergetool
In the middle file (future merged file), you can navigate between conflicts with ]c and [c.
Choose which version you want to keep with :diffget //2 or :diffget //3 (the //2 and //3 are unique identifiers for the target/master copy and the merge/branch copy file names).
:diffupdate (to remove leftover spacing issues)
:only (once you’re done reviewing all conflicts, this shows only the middle/merged file)
| /* | |
| A Tour of Go: page 44 | |
| http://tour.golang.org/#44 | |
| Exercise: Loops and Functions | |
| As a simple way to play with functions and loops, implement the square root function using Newton's method. | |
| In this case, Newton's method is to approximate Sqrt(x) by picking a starting point z and then repeating: z - (z*z - x) / (2 * z) |
| 'use strict'; | |
| import React, { PureComponent, useState, useEffect } from 'react'; | |
| import { AppRegistry, StyleSheet, Text, TouchableOpacity, View } from 'react-native'; | |
| import { RNCamera } from 'react-native-camera'; | |
| import Permissions from 'react-native-permissions'; | |
| const CameraApp = () => { | |
| let [flash, setFlash] = useState('off') | |
| let [zoom, setZoom] = useState(0) | |
| let [autoFocus, setAutoFocus] = useState('on') |