- All Github projects, sorted by # of stars:
https://github.com/search?q=stars:>1&s=stars&type=Repositories
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
# app.rb | |
require "sinatra" | |
require "sinatra/activerecord" | |
require 'rest-client' | |
require 'json' | |
require 'octokit' | |
require 'pp' # for pretty print debugging | |
# Needed for preserving github auth tokens across sessions. |
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
From f788a1a6c27be0fb421d2758492f9366b895ba20 Mon Sep 17 00:00:00 2001 | |
From: Bryan Braun <[email protected]> | |
Date: Tue, 18 Nov 2014 14:43:17 -0500 | |
Subject: [PATCH] Make the alt-text field required (and add a class for styling | |
it). | |
Signed-off-by: Bryan Braun <[email protected]> | |
--- | |
dialogs/image2.js | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) |
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
# Edit the .git/config file in your local repo like so: | |
# cd <path/to/project> | |
# vim .git/config | |
# (include the lines below) | |
[remote "origin"] | |
url = https://github.com/bryanbraun/anchorjs.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
fetch = +refs/pull/*/head:refs/pull/origin/* |
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
language: node_js | |
node_js: | |
- "node" | |
branches: | |
only: | |
- master |
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
+==============================================================================+ | |
| Test Env. | Driver | Test Runner | Test Framework | Syntax | Assertions | | |
+==============================================================================+ | |
| Phantom | Poltergeist | Capybara | Ruby | |
+------------------------------------------------------------------------------+ | |
| Chrome | Karma | Jasmine | JS | |
+------------------------------------------------------------------------------+ | |
| Slimer | CasperJS | JS | |
+------------------------------------------------------------------------------+ |
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
#!../vendor/bin/drush | |
// <?php | |
// ^^^ For syntax highlighters only | |
// | |
// This is a drush shell script, designed to help debug and reset post_update | |
// hooks. For details, see: http://www.drush.org/en/master/shellscripts/ | |
$key_value = \Drupal::keyValue('post_update'); | |
$update_list = $key_value->get('existing_updates'); |
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
# See how variables work, and a list of predefined ones: | |
# - https://docs.gitlab.com/ce/ci/variables/ | |
variables: | |
RAILS_IMAGE: registry.gitlab.com/bryanbraun/gridmaster.io/railsapp:$CI_COMMIT_SHA | |
NGINX_IMAGE: registry.gitlab.com/bryanbraun/gridmaster.io/nginx:$CI_COMMIT_SHA | |
DEPLOY_TAG: $CI_COMMIT_SHA | |
cache: | |
paths: | |
- vendor/ruby |
Links:
- The Juice Shop Application Repo: https://github.com/bkimminich/juice-shop
- OWASP Top 10 Security Risks (2017): https://www.owasp.org/index.php/Top_10_2017-Top_10
Our Example Application:
Hints and Solutions:
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
// Tic Tac Term! | |
// | |
// A 2-player Tic Tac Toe game, played in the terminal | |
// (written in JavaScript 💪) | |
// Set up user prompt interface. | |
const rl = require("readline").createInterface({ | |
input: process.stdin, | |
output: process.stdout |
OlderNewer