This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static BssList networks; | |
static bool scanning = false; | |
void networkScanCompleted(bool succeeded, BssList list) | |
{ | |
if (succeeded) | |
{ | |
networks.clear(); | |
for (int i = 0; i < list.count(); i++) | |
if (!list[i].hidden && list[i].ssid.length() > 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import libvirt | |
import json | |
import os.path | |
import argparse | |
from xml.etree import ElementTree | |
VCPU_FILE = "vcpu.json" | |
class VCPUPin: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline: | |
docker: | |
image: myregistry.tld/drone/plugin-docker | |
# authentication with the registry that is pulled from | |
auth_config: | |
username: octocat | |
password: password | |
email: octocat@github.com | |
# authentication with the registry that is pushed to | |
registry: myregistry.tld |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Doctrine\ORM\Persisters; | |
class DoctrineHelper | |
{ | |
protected $entityManagers = array(); | |
public function bulkCommit(EntityManager $em, array $entities) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gits='git status' | |
alias gitstat='git status -s' | |
alias gita='git add -A && git status -s' | |
alias gitcom='git commit -S -m' | |
alias gitacom='git add -A && git commit -aSm' | |
alias gitc='git checkout' | |
alias gitcm='git checkout master' | |
alias gitcd='git checkout development' | |
alias gitcgh='git checkout gh-pages' | |
alias gitb='git branch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
owncloud: | |
image: owncloud/server:10.0.6 | |
restart: always | |
ports: | |
- 8443:443 | |
- 8000:80 | |
depends_on: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workspace: | |
base: /drone | |
path: src | |
branches: [master, stable10, stable9.1, stable9] | |
clone: | |
git: | |
image: plugins/git | |
depth: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
volumes: | |
files: | |
driver: local | |
mysql: | |
driver: local | |
backup: | |
driver: local | |
redis: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
volumes: | |
files: | |
driver: local | |
mysql: | |
driver: local | |
backup: | |
driver: local | |
redis: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias phpx='php -dzend_extension=xdebug.so -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9001 -dxdebug.remote_host=127.0.0.1 -dxdebug.remote_autostart=1 -dxdebug.idekey=PHPSTORM $@' | |
alias php-switch-56='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php56 --force' | |
alias php-switch-70='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php70 --force' | |
alias php-switch-71='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php71 --force' | |
alias php-switch-72='brew unlink php56 && brew unlink php70 && brew unlink php71 && brew unlink php72 && brew link php72 --force' |
OlderNewer