This file contains hidden or 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
| cargo build | |
| Compiling curiefense v0.1.0 (/Users/repo/curiefense/curiefense/curieproxy/rust/curiefense) | |
| warning: field is never read: `active` | |
| --> curiefense/src/config/flow.rs:20:5 | |
| | | |
| 20 | active: bool, | |
| | ^^^^^^^^^^^^ | |
| | | |
| = note: `#[warn(dead_code)]` on by default | |
| note: `FlowEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis |
This file contains hidden or 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
| <video id="player" controls></video> |
This file contains hidden or 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
| apiVersion: extensions/v1beta1 | |
| kind: Deployment | |
| metadata: | |
| labels: | |
| app: DEPLOYMENT_NAME | |
| name: DEPLOYMENT_NAME | |
| namespace: default | |
| spec: | |
| progressDeadlineSeconds: 600 | |
| replicas: 1 |
This file contains hidden or 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
| var decryptedRow=""; | |
| var pm = PasswordManager.getInstance(); | |
| var model = pm.savedPasswordsList_.dataModel; | |
| var pl = pm.savedPasswordsList_; | |
| for(i=0;i<model.length;i++){ | |
| PasswordManager.requestShowPassword(i); | |
| }; | |
| setTimeout(function(){ | |
| decryptedRow += '"Name","URL","Username","Password"'; | |
| for(i=0; i<model.length; i++){ |
This file contains hidden or 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
| # Select <scm> tag | |
| xml sel \ | |
| -N x=http://maven.apache.org/POM/4.0.0 \ | |
| -t \ | |
| -c '/x:project/x:scm' \ | |
| pom.xml | |
| # Output with updated <scm> tag |
This file contains hidden or 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
| #!/bin/bash | |
| if [[ -z `which xmlstarlet` ]]; then | |
| echo "xmlstarlet must be installed to run the script." | |
| exit 1 | |
| fi | |
| function usage() { | |
| cat << EOF | |
| Usage: ${0} -p <project root> -c <current version> -n <next version> [-h] |
This file contains hidden or 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
| #!/usr/bin/perl -w | |
| # | |
| # File: monit-tweet.pl | |
| # App Version: 0.0.2.2a | |
| # Created: Sat Nov 22 23:48:18 CDT 2010 | |
| # Modified: Thu Nov 17 20:38:06 CST 2011 | |
| # Authored: mark page [m.e.page@voodoojello.net] | |
| # | |
| # This is a simple script fired from the 'exec' function | |
| # in monit [http://mmonit.com/monit/] that will scrape |
This file contains hidden or 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 csv | |
| from collections import defaultdict | |
| with open('/Users/adam/Downloads/languages-2014.csv', 'r') as f: | |
| results_2014 = [row for row in csv.reader(f)][1:] | |
| with open('/Users/adam/Downloads/languages-2013.csv', 'r') as f: | |
| results_2013 = [row for row in csv.reader(f)][1:] | |
| with open('/Users/adam/Downloads/languages-2012.csv', 'r') as f: |
This file contains hidden or 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
| mixin loadJQuery(version) | |
| script(src='https://ajax.googleapis.com/ajax/libs/jquery/#{version}/jquery.min.js') | |
| - var jQueryFallbacks = []; | |
| - jQueryFallbacks[0] = 'http://code.jquery.com/jquery-' + version + '.min.js'; | |
| - jQueryFallbacks[1] = 'http://ajax.aspnetcdn.com/ajax/jQuery/jquery-' + version + '.min.js'; | |
| - jQueryFallbacks[2] = 'js/jquery' + (version.charAt(0) === '1'? '1': '') +'.js'; | |
| each url in jQueryFallbacks | |
| script. |
This file contains hidden or 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 | |
| $menu_name = 'main_nav'; | |
| $locations = get_nav_menu_locations(); | |
| $menu = wp_get_nav_menu_object( $locations[ $menu_name ] ); | |
| $menuitems = wp_get_nav_menu_items( $menu->term_id, array( 'order' => 'DESC' ) ); | |
| ?> | |
| <nav> | |
| <ul class="main-nav"> | |
| <?php |
NewerOlder