commit
stringlengths
40
40
old_file
stringlengths
4
237
new_file
stringlengths
4
237
old_contents
stringlengths
1
4.24k
new_contents
stringlengths
5
4.84k
subject
stringlengths
15
778
message
stringlengths
16
6.86k
lang
stringlengths
1
30
license
stringclasses
13 values
repos
stringlengths
5
116k
config
stringlengths
1
30
content
stringlengths
105
8.72k
20fda89dbc774fdb930f6c2387b8599c76a2778c
client/js/hah-app/team.js
client/js/hah-app/team.js
import React from 'react' import injectSheet from 'react-jss' import { Phone, Desktop } from '../components/breakpoints' const Team = ({ classes }) => <div>THE TEAM</div> const styles = {} export default injectSheet(styles)(Team)
import React from 'react' import injectSheet from 'react-jss' import { Phone, Desktop } from '../components/breakpoints' const NAME_AND_TITLE_TEXT = 'Karen Rose | Executive Director' const Team = ({ classes }) => ( <div className={classes.team}> <Phone> <div className={classes.nameAndTitleTextPhone}>{NAME_AND_...
Add name and title text
Add name and title text
JavaScript
mit
HelpAssistHer/help-assist-her,HelpAssistHer/help-assist-her,HelpAssistHer/help-assist-her,HelpAssistHer/help-assist-her
javascript
## Code Before: import React from 'react' import injectSheet from 'react-jss' import { Phone, Desktop } from '../components/breakpoints' const Team = ({ classes }) => <div>THE TEAM</div> const styles = {} export default injectSheet(styles)(Team) ## Instruction: Add name and title text ## Code After: import React ...
8b5bece6c7a1cefb09a5601dcd87944e91e0dfff
saleor/static/dashboard-next/components/Debounce.tsx
saleor/static/dashboard-next/components/Debounce.tsx
import * as React from "react"; export interface DebounceProps { children: ((props: () => void) => React.ReactNode); debounceFn: (event: React.FormEvent<any>) => void; time?: number; } export class Debounce extends React.Component<DebounceProps> { timer = null; handleDebounce = () => { const { debounce...
import * as React from "react"; export interface DebounceProps<T> { children: ((props: (...args: T[]) => void) => React.ReactNode); debounceFn: (...args: T[]) => void; time?: number; } export class Debounce<T> extends React.Component<DebounceProps<T>> { timer = null; handleDebounce = (...args: T[]) => { ...
Improve debounce types and pass function parameters
Improve debounce types and pass function parameters
TypeScript
bsd-3-clause
maferelo/saleor,maferelo/saleor,mociepka/saleor,UITools/saleor,mociepka/saleor,UITools/saleor,UITools/saleor,maferelo/saleor,UITools/saleor,UITools/saleor,mociepka/saleor
typescript
## Code Before: import * as React from "react"; export interface DebounceProps { children: ((props: () => void) => React.ReactNode); debounceFn: (event: React.FormEvent<any>) => void; time?: number; } export class Debounce extends React.Component<DebounceProps> { timer = null; handleDebounce = () => { ...
8a5bb1ad35687100b4900f89a19b78493840dc7d
tox.ini
tox.ini
[tox] envlist=py24,py25,py26,py27,py31 [testenv] deps= SQLAlchemy pyzmq execnet Jinja2 commands=python -c __import__('unittest').main('logbook.testsuite','suite') changedir={toxworkdir} [testenv:py24] deps= SQLAlchemy pysqlite simplejson multiprocessing pyzmq execnet Jinja2 [testenv:py25] deps=...
[tox] envlist=py24,py25,py26,py27,py31,docs [testenv] deps= SQLAlchemy pyzmq execnet Jinja2 commands=python -c __import__('unittest').main('logbook.testsuite','suite') changedir={toxworkdir} [testenv:py24] deps= SQLAlchemy pysqlite simplejson multiprocessing pyzmq execnet Jinja2 [testenv:py25] ...
Make sure docs build correctly and all links work
Make sure docs build correctly and all links work
INI
bsd-3-clause
fayazkhan/logbook,alonho/logbook,FintanH/logbook,mbr/logbook,maykinmedia/logbook,maykinmedia/logbook,alex/logbook,mbr/logbook,alonho/logbook,Rafiot/logbook,DasIch/logbook,pombredanne/logbook,dommert/logbook,omergertel/logbook,Rafiot/logbook,DasIch/logbook,omergertel/logbook,omergertel/logbook,dvarrazzo/logbook,dvarrazz...
ini
## Code Before: [tox] envlist=py24,py25,py26,py27,py31 [testenv] deps= SQLAlchemy pyzmq execnet Jinja2 commands=python -c __import__('unittest').main('logbook.testsuite','suite') changedir={toxworkdir} [testenv:py24] deps= SQLAlchemy pysqlite simplejson multiprocessing pyzmq execnet Jinja2 [tes...
c295dc376a20e72c512bb5223d87990c1ce1bdcf
.circleci/config.yml
.circleci/config.yml
version: 2 jobs: build: docker: - image: golang:1.6.2 - image: postgres:9.4.1 environment: POSTGRES_USER: ubuntu POSTGRES_DB: service_test steps: - checkout: path: /go/src/github.com/circleci/cci-demo-go - shell: working_directory: /go/sr...
version: 2 jobs: build: docker: - image: golang:1.6.2 - image: postgres:9.4.1 environment: POSTGRES_USER: ubuntu POSTGRES_DB: service_test working_directory: /go/src/github.com/circleci/cci-demo-go steps: - checkout - run: name: "Install JUnit ...
Move working_directory to the top; make sure test results dir exists.
Move working_directory to the top; make sure test results dir exists.
YAML
mit
circleci/cci-demo-docker
yaml
## Code Before: version: 2 jobs: build: docker: - image: golang:1.6.2 - image: postgres:9.4.1 environment: POSTGRES_USER: ubuntu POSTGRES_DB: service_test steps: - checkout: path: /go/src/github.com/circleci/cci-demo-go - shell: working_d...
83fb70c2b6540fd71d97a71c2febd97c045c461b
macos/aliases.zsh
macos/aliases.zsh
alias show='defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder' alias hide='defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder'
alias show='defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder' alias hide='defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder' # Clean up LaunchServices to remove duplicates in the "Open With" menu alias lscleanup="/System/Library/Frameworks/CoreServices.framew...
Add alias to remove macOS "Open With" duplicates
Add alias to remove macOS "Open With" duplicates
Shell
mit
kiero/dotfiles,kiero/dotfiles
shell
## Code Before: alias show='defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder' alias hide='defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder' ## Instruction: Add alias to remove macOS "Open With" duplicates ## Code After: alias show='defaults write com.apple....
94ae5a0b09e378aaa038e9841ea59013cc0ebec1
Showcases/README.md
Showcases/README.md
In GroupDocs.Viewer 3.x the Front-End has been disintegrated. So the GroupDocs.Viewer has become a UI-Less back end API. Therefore, the front-ends has been published as open sourced sample projects/showcases. The users can seek the knwoledge about implementation of the project and make the changes according to their n...
In GroupDocs.Viewer 3.x the Front-End has been disintegrated. So the GroupDocs.Viewer has become a UI-Less back end API. Therefore, the front-ends has been published as open sourced sample projects/showcases. The users can seek the knwoledge about implementation of the project and make the changes according to their n...
Update paths to the new folders.
Update paths to the new folders.
Markdown
mit
aliahmedgroupdocs/GroupDocs.Viewer-for-.NET,usmanazizgroupdocs/GroupDocs.Viewer-for-.NET,aliahmedgroupdocs/GroupDocs.Viewer-for-.NET,groupdocs-viewer/GroupDocs.Viewer-for-.NET,muhammadumargroupdocs/GroupDocs_Viewer_NET,aliahmedgroupdocs/GroupDocs.Viewer-for-.NET,usmanazizgroupdocs/GroupDocs.Viewer-for-.NET,muhammadumar...
markdown
## Code Before: In GroupDocs.Viewer 3.x the Front-End has been disintegrated. So the GroupDocs.Viewer has become a UI-Less back end API. Therefore, the front-ends has been published as open sourced sample projects/showcases. The users can seek the knwoledge about implementation of the project and make the changes acco...
b49fbf1a28cac6cfb5bb478821a10b75a3792e91
lib/checkout_ru/address.rb
lib/checkout_ru/address.rb
require 'checkout_ru/entity' module CheckoutRu class Address < Entity property :postindex property :street_fias_id, :from => :streetFiasId property :house property :housing property :building property :appartment # [sic] end end
require 'checkout_ru/entity' module CheckoutRu class Address < Entity property :postindex property :street_fias_id, :from => :streetFiasId property :street property :house property :housing property :building property :appartment # [sic] end end
Add an undocumented street property to Address
Add an undocumented street property to Address
Ruby
mit
DukeFruitarian/checkout_ru,maxim/checkout_ru
ruby
## Code Before: require 'checkout_ru/entity' module CheckoutRu class Address < Entity property :postindex property :street_fias_id, :from => :streetFiasId property :house property :housing property :building property :appartment # [sic] end end ## Instruction: Add an undocumented street pr...
03f37e286ec32c9d5cc0fd14dc0702331da82fe2
lib/dataflow/nodes/select_keys_node.rb
lib/dataflow/nodes/select_keys_node.rb
module Dataflow module Nodes # Performs a select operation on its dependency. class SelectKeysNode < ComputeNode field :keys, type: Array, required_for_computing: true ensure_data_node_exists ensure_dependencies exactly: 1 def export data_node.export(keys: keys) e...
module Dataflow module Nodes # Performs a select operation on its dependency. class SelectKeysNode < ComputeNode field :keys, type: Array, required_for_computing: true ensure_data_node_exists ensure_dependencies exactly: 1 def export data_node.export(keys: keys) e...
Optimize the select keys node to avoid recomputing keys at each record.
Optimize the select keys node to avoid recomputing keys at each record.
Ruby
mit
Phybbit/dataflow-rb,Phybbit/dataflow-rb
ruby
## Code Before: module Dataflow module Nodes # Performs a select operation on its dependency. class SelectKeysNode < ComputeNode field :keys, type: Array, required_for_computing: true ensure_data_node_exists ensure_dependencies exactly: 1 def export data_node.export(key...
0cb523123e4f566b965d72bdaeb70caa856a5e9d
rootbench/run_RooFitMPworkspace_20190114.sh
rootbench/run_RooFitMPworkspace_20190114.sh
shopt -s expand_aliases # ALIASES MOETEN AANGEZET WORDEN (http://unix.stackexchange.com/a/1498/193258) source $HOME/root_deps.sh source $HOME/project_atlas/root-roofit-dev/cmake-build-release-20181218/bin/thisroot.sh export EXEC_PATH="$HOME/project_atlas/rootbench/cmake-build-release-20181218/root/roofit/roofit/Roofi...
shopt -s expand_aliases # ALIASES MOETEN AANGEZET WORDEN (http://unix.stackexchange.com/a/1498/193258) source $HOME/root_deps.sh source $HOME/project_atlas/root-roofit-dev/cmake-build-release-20181218/bin/thisroot.sh export EXEC_PATH="$HOME/project_atlas/rootbench/cmake-build-release-20181218/root/roofit/roofit/Roofi...
Fix path in benchmark batch script
Fix path in benchmark batch script
Shell
apache-2.0
roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts
shell
## Code Before: shopt -s expand_aliases # ALIASES MOETEN AANGEZET WORDEN (http://unix.stackexchange.com/a/1498/193258) source $HOME/root_deps.sh source $HOME/project_atlas/root-roofit-dev/cmake-build-release-20181218/bin/thisroot.sh export EXEC_PATH="$HOME/project_atlas/rootbench/cmake-build-release-20181218/root/roo...
f1bfcbde40471e9a0d81e5a4b2ff8f4589f1a11e
README.md
README.md
Install [LimeChat](http://limechat.net/mac/), an IRC client for Mac OS X. ## Usage ```puppet include limechat ``` ## Required Puppet Modules * `boxen` ## Development Write code. Run `script/cibuild` to test it. Check the `script` directory for other useful tools.
Install [LimeChat](http://limechat.net/mac/), an IRC client for Mac OS X. ## Usage ```puppet include limechat ``` You can specify a version: ``` puppet class { 'limechat': version => '3.00' } ``` ...or in Hiera... ``` yaml limechat::version: '3.00' ``` ## Required Puppet Modules * `boxen` ## Development Writ...
Document how to install new versions
Document how to install new versions
Markdown
mit
dieterdemeyer/puppet-limechat,dieterdemeyer/puppet-limechat
markdown
## Code Before: Install [LimeChat](http://limechat.net/mac/), an IRC client for Mac OS X. ## Usage ```puppet include limechat ``` ## Required Puppet Modules * `boxen` ## Development Write code. Run `script/cibuild` to test it. Check the `script` directory for other useful tools. ## Instruction: Document how to ...
ddb1f8d6e781128b2828479fa062c3241607d94e
ua.js
ua.js
{ "%d unread message": { "one": "%d непрочитане повідомлення", "other": "%d непрочитаних пвідомлень" }, "Unread messages in %%s, %%s and one other": { "one": "Непрочитані повідомлення в %%s, %%s і ще одному", "other": "Непрочитані повідомлення в %%s, %%s і в %d інших" }, "Unread messages in %s": "Непрочита...
{ "%d unread message": { "one": "%d непрочитане повідомлення", "other": "%d непрочитаних повідомлень" }, "Unread messages in %%s, %%s and one other": { "one": "Непрочитані повідомлення в %%s, %%s і ще одному каналі", "other": "Непрочитані повідомлення в %%s, %%s і в %d інших каналах" }, "Unread messages in...
Fix typos and grammar errors
Fix typos and grammar errors
JavaScript
mit
gitterHQ/gitter-translations
javascript
## Code Before: { "%d unread message": { "one": "%d непрочитане повідомлення", "other": "%d непрочитаних пвідомлень" }, "Unread messages in %%s, %%s and one other": { "one": "Непрочитані повідомлення в %%s, %%s і ще одному", "other": "Непрочитані повідомлення в %%s, %%s і в %d інших" }, "Unread messages in...
34d080b312b74ec4bb8c336d6eabd8e440d9c359
README.rst
README.rst
Icon Hider for Gnome Shell ========================== **Icon Hider** is a *gnome-shell extension* for managing *status area* items. This extension create a special menu by which you can change visibility of desired item. .. image:: http://i.imm.io/sklW.png **NOTE:** This extension can't hide *battery* icon, bec...
Icon Hider for Gnome Shell ========================== **Icon Hider** is a `Gnome Shell`_ extension for managing *status area* items. This extension create a special menu by which you can change visibility of desired item. **NOTE:** This extension can't hide *battery* icon, because last one has a very ugly des...
Add Installation section to readme.
Add Installation section to readme.
reStructuredText
bsd-3-clause
ikalnitsky/gnome-shell-extension-icon-hider
restructuredtext
## Code Before: Icon Hider for Gnome Shell ========================== **Icon Hider** is a *gnome-shell extension* for managing *status area* items. This extension create a special menu by which you can change visibility of desired item. .. image:: http://i.imm.io/sklW.png **NOTE:** This extension can't hide *ba...
e903b18af1f3a3947e56fd59de90f16c6d75bcfa
main.go
main.go
package main import ( "fmt" "log" "net/http" "os" "github.com/flynn/go-flynn/migrate" "github.com/flynn/go-flynn/postgres" ) func main() { log.SetFlags(log.Lmicroseconds | log.Lshortfile) db, err := postgres.Open("", "") if err != nil { log.Fatal(err) } m := migrate.NewMigrations() m.Add(1, "CREATE S...
package main import ( "fmt" "log" "net/http" "os" "github.com/flynn/go-flynn/migrate" "github.com/flynn/go-flynn/postgres" ) func main() { log.SetFlags(log.Lmicroseconds | log.Lshortfile) db, err := postgres.Open("", "") if err != nil { log.Fatal(err) } m := migrate.NewMigrations() m.Add(1, "CREATE S...
Reformat output to match other examples.
Reformat output to match other examples. Signed-off-by: Blaž Hrastnik <e26a9cc74a1e4715764aa09d1071b1ef182b1807@gmail.com>
Go
bsd-3-clause
flynn-examples/go-flynn-example,yunfanapp/go-flynn-example
go
## Code Before: package main import ( "fmt" "log" "net/http" "os" "github.com/flynn/go-flynn/migrate" "github.com/flynn/go-flynn/postgres" ) func main() { log.SetFlags(log.Lmicroseconds | log.Lshortfile) db, err := postgres.Open("", "") if err != nil { log.Fatal(err) } m := migrate.NewMigrations() m....
d2534338d72ae72bbeb8bda6fe154a0df653f7d8
awx/ui/static/js/main-menu/menu-portal.partial.html
awx/ui/static/js/main-menu/menu-portal.partial.html
<a href="#portal" title="Portal" class="MenuItem MenuItem--hoverable"> Portal </a> <a link-to="dashboard" class="MenuItem MenuItem--right MenuItem--fixed" title="Portal Mode"> <i class="MenuItem-icon" title="Exit Portal Mode" data-placement="bottom"> <aw-icon name="PortalMode--exit"></aw-icon> </i> </a>
<a href="#portal" title="Portal" class="MenuItem MenuItem--hoverable"> Portal </a> <a link-to="userEdit" model="{ user_id: currentUser }" class="MenuItem MenuItem--right MenuItem--fixed MenuItem-username"> <i class="MenuItem-icon MenuItem-icon--labelled"> <aw-icon name="User"></aw-icon> </i> <span class="...
Add extra icons to portal mode
Add extra icons to portal mode
HTML
apache-2.0
wwitzel3/awx,snahelou/awx,wwitzel3/awx,wwitzel3/awx,snahelou/awx,wwitzel3/awx,snahelou/awx,snahelou/awx
html
## Code Before: <a href="#portal" title="Portal" class="MenuItem MenuItem--hoverable"> Portal </a> <a link-to="dashboard" class="MenuItem MenuItem--right MenuItem--fixed" title="Portal Mode"> <i class="MenuItem-icon" title="Exit Portal Mode" data-placement="bottom"> <aw-icon name="PortalMode--exit"></aw-icon>...
6548efeb450f9f3db93e9deecda77af749274edc
storybook/stories/staking/Rewards.stories.js
storybook/stories/staking/Rewards.stories.js
// @flow import React from 'react'; import { map } from 'lodash'; import BigNumber from 'bignumber.js'; import { action } from '@storybook/addon-actions'; // Screens import StakingRewards from '../../../source/renderer/app/components/staking/rewards/StakingRewards'; // Dummy data initialization import REWARDS from '....
// @flow import React from 'react'; import { map } from 'lodash'; import BigNumber from 'bignumber.js'; import { action } from '@storybook/addon-actions'; // Screens import StakingRewards from '../../../source/renderer/app/components/staking/rewards/StakingRewards'; // Dummy data initialization import REWARDS from '....
Fix broken rewards table story
[DDW-614] Fix broken rewards table story
JavaScript
apache-2.0
input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus,input-output-hk/daedalus
javascript
## Code Before: // @flow import React from 'react'; import { map } from 'lodash'; import BigNumber from 'bignumber.js'; import { action } from '@storybook/addon-actions'; // Screens import StakingRewards from '../../../source/renderer/app/components/staking/rewards/StakingRewards'; // Dummy data initialization import...
8d9c9e47e50a9a01eeb8adf8990e7d395dfd47d4
Instanssi/admin_kompomaatti/templates/admin_kompomaatti/competition.html
Instanssi/admin_kompomaatti/templates/admin_kompomaatti/competition.html
{% extends "admin_kompomaatti/base.html" %} {% load uni_form_tags %} {% block title %}{{ block.super }} - Kilpailut - Osallistujat{% endblock %} {% block head %} {{ block.super }} <link rel="stylesheet" type="text/css" href="/static/admin_kompomaatti/css/style.css" /> {% endblock %} {% block crumbs %} {{ block.s...
{% extends "admin_kompomaatti/base.html" %} {% load uni_form_tags %} {% block title %}{{ block.super }} - Kilpailut - Osallistujat{% endblock %} {% block head %} {{ block.super }} <link rel="stylesheet" type="text/css" href="/static/admin_kompomaatti/css/style.css" /> {% endblock %} {% block crumbs %} {{ block.s...
Remove useless element from crumb path
admin_kompomaatti: Remove useless element from crumb path
HTML
mit
Instanssi/Instanssi.org,Instanssi/Instanssi.org,Instanssi/Instanssi.org,Instanssi/Instanssi.org
html
## Code Before: {% extends "admin_kompomaatti/base.html" %} {% load uni_form_tags %} {% block title %}{{ block.super }} - Kilpailut - Osallistujat{% endblock %} {% block head %} {{ block.super }} <link rel="stylesheet" type="text/css" href="/static/admin_kompomaatti/css/style.css" /> {% endblock %} {% block crum...
dce76a49e72f368c8e2f0ea3f1c210f76202b0c8
setup.cfg
setup.cfg
[flake8] show-source = true max-line-length = 95 doctests = true #max-complexity = 10
[flake8] show-source = true max-line-length = 95 doctests = true max-complexity = 10 [coverage:run] branch = true
Enable cyclomatic complexity checking & branch cov
Enable cyclomatic complexity checking & branch cov
INI
apache-2.0
tulul/tululbot
ini
## Code Before: [flake8] show-source = true max-line-length = 95 doctests = true #max-complexity = 10 ## Instruction: Enable cyclomatic complexity checking & branch cov ## Code After: [flake8] show-source = true max-line-length = 95 doctests = true max-complexity = 10 [coverage:run] branch = true
d20d7ba83dc5128d469818bdcd36586e107d0dbc
products/templates/products/includes/image_multilang.html
products/templates/products/includes/image_multilang.html
{% load i18n %} {% load staticfiles %} {% get_current_language as lang %} {% with path_to_image|add:lang|add:extension as image %} {% static image as img %} <div class="padding-top"> <a href="{{ img }}"> <img class="img-responsive img-thumbnail" src="{{ img }}" alt="{{ alt_text }}" {% if width %}width="...
{% load i18n %} {% load staticfiles %} {% get_current_language as lang %} {% with path_to_image|add:lang|add:extension as image %} {% static image as img %} <div class="padding-top"> <a href="{{ img }}"> <img class="img-responsive {% if not nothumbnail %}img-thumbnail{% endif %}" src="{{ img }}" alt="{{...
Add option to toggle thumbnail
Add option to toggle thumbnail
HTML
mit
n2o/guhema,n2o/guhema
html
## Code Before: {% load i18n %} {% load staticfiles %} {% get_current_language as lang %} {% with path_to_image|add:lang|add:extension as image %} {% static image as img %} <div class="padding-top"> <a href="{{ img }}"> <img class="img-responsive img-thumbnail" src="{{ img }}" alt="{{ alt_text }}" {% if...
bd535f8d5365a5aa8cf6fd632f5c9cd62b0f5d1e
_includes/opengraph.html
_includes/opengraph.html
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> <meta property="og:type" content="{% if page.title %}article{% else %}website{% endif %}"> <meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}"> <meta property="og:imag...
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> <meta property="og:type" content="{% if page.title %}article{% else %}website{% endif %}"> <meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}"> <meta property="og:imag...
Integrate OpenGraph v3 fix build failed
Integrate OpenGraph v3 fix build failed
HTML
mit
ibotdotout/ibotdotout.github.io
html
## Code Before: <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> <meta property="og:type" content="{% if page.title %}article{% else %}website{% endif %}"> <meta property="og:url" content="{{ page.url | replace:'index.html','' | prepend: site.url }}"> <meta p...
801f58f795811a11ebc9718d0e46f818a22353e9
Doc/lib/libgetpass.tex
Doc/lib/libgetpass.tex
\section{\module{getpass} --- Portable password input} \declaremodule{standard}{getpass} \modulesynopsis{Portable reading of passwords and retrieval of the userid.} \moduleauthor{Piers Lauder}{piers@cs.su.oz.au} % Windows (& Mac?) support by Guido van Rossum. \sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}...
\section{\module{getpass} --- Portable password input} \declaremodule{standard}{getpass} \modulesynopsis{Portable reading of passwords and retrieval of the userid.} \moduleauthor{Piers Lauder}{piers@cs.su.oz.au} % Windows (& Mac?) support by Guido van Rossum. \sectionauthor{Fred L. Drake, Jr.}{fdrake@acm.org}...
Use \versionchanged instead of \versionadded for new parameter support.
Use \versionchanged instead of \versionadded for new parameter support.
TeX
mit
sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator
tex
## Code Before: \section{\module{getpass} --- Portable password input} \declaremodule{standard}{getpass} \modulesynopsis{Portable reading of passwords and retrieval of the userid.} \moduleauthor{Piers Lauder}{piers@cs.su.oz.au} % Windows (& Mac?) support by Guido van Rossum. \sectionauthor{Fred L. Drake, Jr.}...
28ac82a4bf948e64f420fb80dec86cb72443270c
docs/views/examples/pass-data/vehicle-registration.html
docs/views/examples/pass-data/vehicle-registration.html
{% extends "layout.html" %} {% block pageTitle %} Example - Passing data {% endblock %} {% block beforeContent %} {% include "includes/breadcrumb_examples.html" %} {% endblock %} {% block content %} <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <form action="/docs/examples...
{% extends "layout.html" %} {% block pageTitle %} Example - Passing data {% endblock %} {% block beforeContent %} {% include "includes/breadcrumb_examples.html" %} {% endblock %} {% block content %} <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <form action="/docs/examples...
Add missing value (data) attribute
Add missing value (data) attribute Currently, if a user enters an answer on examples/pass-data/vehicle-registration and then clicks 'Change' on examples/pass-data/vehicle-check-answers the previously filled answer is lost. Adding in the data element would show the user's answer back to them (the radio button and check...
HTML
mit
dwpdigitaltech/hrt-prototype,dwpdigitaltech/hrt-prototype,alphagov/govuk_prototype_kit,alphagov/govuk_prototype_kit,dwpdigitaltech/hrt-prototype,alphagov/govuk_prototype_kit
html
## Code Before: {% extends "layout.html" %} {% block pageTitle %} Example - Passing data {% endblock %} {% block beforeContent %} {% include "includes/breadcrumb_examples.html" %} {% endblock %} {% block content %} <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <form action...
f7fa938f0cfa24ae3a23d627e98bc61360641583
sources/us/pa/dauphin.json
sources/us/pa/dauphin.json
{ "coverage": { "US Census": { "geoid": "42027", "name": "Dauphin County", "state": "Pennsylvania" }, "country": "us", "state": "pa", "county": "Dauphin" }, "data": "https://gis.dauphincounty.org/arcgis/rest/services/Municipal/Muni_...
{ "coverage": { "US Census": { "geoid": "42027", "name": "Dauphin County", "state": "Pennsylvania" }, "country": "us", "state": "pa", "county": "Dauphin" }, "contact": { "name": "Megan Birch", "title": "GIS Coordinat...
Update information for Dauphin County, Pennsylvania.
Update information for Dauphin County, Pennsylvania. - added contact information - added website for data portal - updated address information fields
JSON
bsd-3-clause
openaddresses/openaddresses,openaddresses/openaddresses,orangejulius/openaddresses,orangejulius/openaddresses,orangejulius/openaddresses,openaddresses/openaddresses
json
## Code Before: { "coverage": { "US Census": { "geoid": "42027", "name": "Dauphin County", "state": "Pennsylvania" }, "country": "us", "state": "pa", "county": "Dauphin" }, "data": "https://gis.dauphincounty.org/arcgis/rest/services...
b700e40f65953ea0c87666d38d53e968581611e1
auditlog_tests/urls.py
auditlog_tests/urls.py
import django from django.conf.urls import include, url from django.contrib import admin if django.VERSION < (1, 9): admin_urls = include(admin.site.urls) else: admin_urls = admin.site.urls urlpatterns = [ url(r'^admin/', admin_urls), ]
from django.urls import path from django.contrib import admin urlpatterns = [ path("admin/", admin.site.urls), ]
Remove old django related codes.
Remove old django related codes.
Python
mit
jjkester/django-auditlog
python
## Code Before: import django from django.conf.urls import include, url from django.contrib import admin if django.VERSION < (1, 9): admin_urls = include(admin.site.urls) else: admin_urls = admin.site.urls urlpatterns = [ url(r'^admin/', admin_urls), ] ## Instruction: Remove old django related codes. #...
54692da4af0eaa9bd1373d3543595bab6a8bb976
_posts/2017-03-13-git-achivment-unlocked.markdown
_posts/2017-03-13-git-achivment-unlocked.markdown
--- layout: article title: "Добро пожаловать!!" date: 2017-03-10 10:10:10 +0400 categories: jekyll update image: teaser: 400x250-welcome.jpg --- В этом блоге я буду писать про различные IT штуки, которыми интересуюсь. В основном про тестирование, автоматизацию, программирование и робототехнику. Блог создан на площ...
--- layout: article title: "Git Achievement Unlocked" date: 2017-03-13 10:10:10 +0400 categories: git image: teaser: 400x250-git.jpg --- С Хакатона от Сбертеха начал активно использовать Git в рабочих и личных проектах. Начинал его изучать я и раньше, но было либо непонимание, либо ненависть. Но вот теперь пришёл ...
Add article "Git Achievement Unlocked"
Add article "Git Achievement Unlocked"
Markdown
mit
ninja-tester/ninja-tester.github.io,ninja-tester/ninja-tester.github.io,ninja-tester/ninja-tester.github.io
markdown
## Code Before: --- layout: article title: "Добро пожаловать!!" date: 2017-03-10 10:10:10 +0400 categories: jekyll update image: teaser: 400x250-welcome.jpg --- В этом блоге я буду писать про различные IT штуки, которыми интересуюсь. В основном про тестирование, автоматизацию, программирование и робототехнику. Бло...
c984042ad2b37bbd10f834730b794b1cb8e0819d
.travis_py37_workaround.sh
.travis_py37_workaround.sh
echo "The ready-made virtualenv is not the one we want. Deactivating..." deactivate echo "Installing 3.7 from deadsnakes..." sudo apt-get --yes install python3.7 echo "Creating a fresh virtualenv. We can't use `ensurepip` because Debian." python3.7 -m venv ~/virtualenv/python3.7-deadsnakes --without-pip source ~/virt...
echo "The ready-made virtualenv is not the one we want. Deactivating..." deactivate echo "Installing 3.7 from deadsnakes..." sudo apt-get --yes install python3.7 echo "Creating a fresh virtualenv. We can't use `ensurepip` because Debian." python3.7 -m venv ~/virtualenv/python3.7-deadsnakes --without-pip source ~/virt...
Print exact Python version with build date
Print exact Python version with build date
Shell
mit
psf/black
shell
## Code Before: echo "The ready-made virtualenv is not the one we want. Deactivating..." deactivate echo "Installing 3.7 from deadsnakes..." sudo apt-get --yes install python3.7 echo "Creating a fresh virtualenv. We can't use `ensurepip` because Debian." python3.7 -m venv ~/virtualenv/python3.7-deadsnakes --without-p...
743146dc111da3a887eb426369851b6a251f64f3
lib/CGI/Conduit/Log.pm
lib/CGI/Conduit/Log.pm
package CGI::Conduit::Log; use Moose::Role; use Projectus::Log qw(log_init); ## ---------------------------------------------------------------------------- has 'log_filename' => ( is => 'rw' ); ## ---------------------------------------------------------------------------- after 'init' => sub { my ($self) = ...
package CGI::Conduit::Log; use Moose::Role; use Projectus::Log qw(log_init); ## ---------------------------------------------------------------------------- has 'log_filename' => ( is => 'rw' ); ## ---------------------------------------------------------------------------- # for some reason, this is called twice...
Comment to say something weird is happening
Comment to say something weird is happening
Perl
artistic-2.0
chilts/conduit
perl
## Code Before: package CGI::Conduit::Log; use Moose::Role; use Projectus::Log qw(log_init); ## ---------------------------------------------------------------------------- has 'log_filename' => ( is => 'rw' ); ## ---------------------------------------------------------------------------- after 'init' => sub { ...
8751396b7ce9e86b5aa9350ef7e1490d58492b04
makesymlinks.sh
makesymlinks.sh
dir=$DOTFILES files=(bashrc \ bin \ ctags \ gitattributes \ gitconfig \ gitignore \ js \ lldbhelpers \ lldbinit \ tmux.conf \ tmuxinator \ urlview \ vimrc \ xvimrc \ zshrc) cd $dir for file in "${files[@]}"; do ln -s...
dir=$DOTFILES files=(bashrc \ bin \ ctags \ gitattributes \ gitconfig \ gitignore \ js \ lldbhelpers \ lldbinit \ tmux.conf \ tmuxinator \ urlview \ vimrc \ zshrc) cd $dir for file in "${files[@]}"; do ln -s $dir/$file ~/.$...
Remove xvimrc as a symlink item
Remove xvimrc as a symlink item
Shell
mit
sberrevoets/dotfiles,sberrevoets/dotfiles,sberrevoets/dotfiles,sberrevoets/dotfiles,sberrevoets/dotfiles
shell
## Code Before: dir=$DOTFILES files=(bashrc \ bin \ ctags \ gitattributes \ gitconfig \ gitignore \ js \ lldbhelpers \ lldbinit \ tmux.conf \ tmuxinator \ urlview \ vimrc \ xvimrc \ zshrc) cd $dir for file in "${files[@]...
234008faee7662143ffde39dd0e6e1d12322e420
org.osgi.test.cases.blueprint/src/org/osgi/test/cases/blueprint/components/serviceimport/service_listener_unbind_only.xml
org.osgi.test.cases.blueprint/src/org/osgi/test/cases/blueprint/components/serviceimport/service_listener_unbind_only.xml
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <description> This imports a service reference with an attached listener. The listener is also an imported service. </description> <bean id="ServiceOneListener" class="org.osgi.test.cases.bluepri...
<?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <description> This imports a service reference with an attached listener. The listener is also an imported service. </description> <bean id="ServiceOneListener" class="org.osgi.test.cases.bluepri...
Fix test broken by unbind method changes
Fix test broken by unbind method changes
XML
apache-2.0
osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi
xml
## Code Before: <?xml version="1.0" encoding="UTF-8"?> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <description> This imports a service reference with an attached listener. The listener is also an imported service. </description> <bean id="ServiceOneListener" class="org.osgi.te...
ec0bb60381ee8be26a4b76240733bfa453bbc83c
ui/src/components/metric/close-button.js
ui/src/components/metric/close-button.js
const React = require('react'); const Styled = require('styled-components'); const fns = require('../../shared/functions'); const constants = require('../../shared/constants'); const CloseIcon = require( '!babel!svg-react!./close.svg?name=CloseIcon' ); const { default: styled } = Styled; const { remcalc }...
const React = require('react'); const Styled = require('styled-components'); const fns = require('../../shared/functions'); const constants = require('../../shared/constants'); const CloseIcon = require( '!babel-loader!svg-react-loader!./close.svg?name=CloseIcon' ); const { default: styled } = Styled; const...
Fix chopped off data for twelve hours
Fix chopped off data for twelve hours
JavaScript
mpl-2.0
geek/joyent-portal,yldio/joyent-portal,yldio/joyent-portal,yldio/copilot,yldio/copilot,geek/joyent-portal,yldio/copilot
javascript
## Code Before: const React = require('react'); const Styled = require('styled-components'); const fns = require('../../shared/functions'); const constants = require('../../shared/constants'); const CloseIcon = require( '!babel!svg-react!./close.svg?name=CloseIcon' ); const { default: styled } = Styled; con...
e97a5fcc951e017b41bc896fbe6346619cbaaddc
bower.json
bower.json
{ "name": "Portal", "description": "A permanent video conference between the 3 offices of Nearsoft (HMO, CUU & CDMEX) using \"portals\".", "main": "", "authors": [ "echavezNS <echavez@nearsoft.com>" ], "license": "MIT", "keywords": [ "Portal", "Nearsoft", "Chihuahua", "Hermosillo", ...
{ "name": "Portal", "description": "A permanent video conference between the 3 offices of Nearsoft (HMO, CUU & CDMEX) using \"portals\".", "main": "", "authors": [ "echavezNS <echavez@nearsoft.com>" ], "license": "MIT", "keywords": [ "Portal", "Nearsoft", "Chihuahua", "Hermosillo", ...
Add jquery as a dependency
Add jquery as a dependency
JSON
apache-2.0
CarlosMiguelCuevas/portal-ns,Nearsoft/office-portal,CarlosMiguelCuevas/portal-ns,CarlosMiguelCuevas/portal-ns,Nearsoft/office-portal,Nearsoft/office-portal,Nearsoft/office-portal,CarlosMiguelCuevas/portal-ns
json
## Code Before: { "name": "Portal", "description": "A permanent video conference between the 3 offices of Nearsoft (HMO, CUU & CDMEX) using \"portals\".", "main": "", "authors": [ "echavezNS <echavez@nearsoft.com>" ], "license": "MIT", "keywords": [ "Portal", "Nearsoft", "Chihuahua", "...
d8415b2ef6cd0e4fd23bba0d59713e213e627dbd
src/Frontend/Modules/Mailmotor/Widgets/Subscribe.php
src/Frontend/Modules/Mailmotor/Widgets/Subscribe.php
<?php namespace Frontend\Modules\Mailmotor\Widgets; /* * This file is part of the Fork CMS Mailmotor Module from SIESQO. * * For the full copyright and license information, please view the license * file that was distributed with this source code. */ use Frontend\Core\Engine\Base\Widget as FrontendBaseWidget; ...
<?php namespace Frontend\Modules\Mailmotor\Widgets; /* * This file is part of the Fork CMS Mailmotor Module from SIESQO. * * For the full copyright and license information, please view the license * file that was distributed with this source code. */ use Frontend\Core\Engine\Base\Widget as FrontendBaseWidget; u...
Load the form from the subscribe widget.
Load the form from the subscribe widget.
PHP
mit
jonasdekeukelaere/forkcms,jessedobbelaere/forkcms,Katrienvh/forkcms,jeroendesloovere/forkcms,Thijzer/forkcms,tommyvdv/forkcms,carakas/forkcms,jacob-v-dam/forkcms,jonasdekeukelaere/forkcms,justcarakas/forkcms,carakas/forkcms,Katrienvh/forkcms,riadvice/forkcms,justcarakas/forkcms,jeroendesloovere/forkcms,Thijzer/forkcms,...
php
## Code Before: <?php namespace Frontend\Modules\Mailmotor\Widgets; /* * This file is part of the Fork CMS Mailmotor Module from SIESQO. * * For the full copyright and license information, please view the license * file that was distributed with this source code. */ use Frontend\Core\Engine\Base\Widget as Front...
1ad2604c881fa90cb1755f11dd4c23a17c940c0c
src/plugin.yml
src/plugin.yml
name: ControlCreativeMode main: musician101.controlcreativemode.ControlCreativeMode version: 1.4 description: Change from creative and survival authors: [boardingamer, Musician101] maintainer: Musician101 prefix: CCM commands: ccm: description: Commands for the plugin. permissions: ccm.use aliases...
name: ControlCreativeMode main: musician101.controlcreativemode.ControlCreativeMode version: 1.4 description: Change from creative and survival authors: [boardingamer, Musician101] maintainer: Musician101 prefix: CCM commands: ccm: description: Commands for the plugin. aliases: [ccm]
Change formatting and removed unneeded permissions.
Change formatting and removed unneeded permissions.
YAML
mit
Musician101/ControlCreativeMode
yaml
## Code Before: name: ControlCreativeMode main: musician101.controlcreativemode.ControlCreativeMode version: 1.4 description: Change from creative and survival authors: [boardingamer, Musician101] maintainer: Musician101 prefix: CCM commands: ccm: description: Commands for the plugin. permissions: ccm.u...
b56d3ab11e28ee95bafe4808a3a8ebe2afca0dcb
meta-qcom-410c/recipes-kernel/linux/linux-linaro-qcomlt/basic_functions.cfg
meta-qcom-410c/recipes-kernel/linux/linux-linaro-qcomlt/basic_functions.cfg
CONFIG_ARCH_ADVANTECH=y # LEDS CONFIG_BT_LEDS=y # RTC (SEIKO_S-35390A) CONFIG_RTC_DRV_S35390A=y # EEPROM on ROM-EG70 (ON_CAT24C32WI-GT3) CONFIG_EEPROM_AT24=y # SPI on ROM-EG70 (MICRON_N25Q032) CONFIG_MTD=y CONFIG_MTD_SPI_NOR=y CONFIG_MTD_M25P80=m # [Watchdog] CONFIG_WATCHDOG=y # WDT (TI_MSP430G2202IRSA16RWD17) #CO...
CONFIG_ARCH_ADVANTECH=y # LEDS CONFIG_BT_LEDS=y # RTC (SEIKO_S-35390A) CONFIG_RTC_DRV_S35390A=y # EEPROM on ROM-EG70 (ON_CAT24C32WI-GT3) CONFIG_EEPROM_AT24=y # SPI on ROM-EG70 (MICRON_N25Q032) CONFIG_MTD=y CONFIG_MTD_SPI_NOR=y CONFIG_MTD_M25P80=m # [Watchdog] CONFIG_WATCHDOG=y # WDT (TI_MSP430G2202IRSA16RWD17) #CO...
Add /dev/hwrng for mbed cloud client
[Qcom] Add /dev/hwrng for mbed cloud client Enable HW Random Number Generator on APQ8016
INI
apache-2.0
timliangtw/meta-advantech,ADVANTECH-Corp/meta-advantech,timliangtw/meta-advantech,timliangtw/meta-advantech,ADVANTECH-Corp/meta-advantech,ADVANTECH-Corp/meta-advantech,timliangtw/meta-advantech,timliangtw/meta-advantech,ADVANTECH-Corp/meta-advantech,ADVANTECH-Corp/meta-advantech
ini
## Code Before: CONFIG_ARCH_ADVANTECH=y # LEDS CONFIG_BT_LEDS=y # RTC (SEIKO_S-35390A) CONFIG_RTC_DRV_S35390A=y # EEPROM on ROM-EG70 (ON_CAT24C32WI-GT3) CONFIG_EEPROM_AT24=y # SPI on ROM-EG70 (MICRON_N25Q032) CONFIG_MTD=y CONFIG_MTD_SPI_NOR=y CONFIG_MTD_M25P80=m # [Watchdog] CONFIG_WATCHDOG=y # WDT (TI_MSP430G2202...
1af531ba0ba483974416f16ab65f95c0a9af3753
workload/workers/engine.go
workload/workers/engine.go
// Copyright 2015 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package workers import ( "time" "github.com/juju/errors" "github.com/juju/juju/worker/dependency" ) const ( engineErrorDelay = 3 * time.Second engineBounceDelay = 10 * time.Second ) func newEngine() (dependency.Engi...
// Copyright 2015 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package workers import ( "time" "github.com/juju/errors" "github.com/juju/juju/worker/dependency" ) const ( engineErrorDelay = 3 * time.Second engineBounceDelay = 10 * time.Second ) func newEngine() (dependency.Engi...
Add doc comments to internal funcs.
Add doc comments to internal funcs.
Go
agpl-3.0
dooferlad/juju,reedobrien/juju,reedobrien/juju,frankban/juju,mikemccracken/juju,wwitzel3/juju,ericsnowcurrently/juju,bogdanteleaga/juju,ericsnowcurrently/juju,bogdanteleaga/juju,bogdanteleaga/juju,perrito666/juju,davecheney/juju,mjs/juju,anastasiamac/juju,bac/juju,dooferlad/juju,anastasiamac/juju,alesstimec/juju,davech...
go
## Code Before: // Copyright 2015 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package workers import ( "time" "github.com/juju/errors" "github.com/juju/juju/worker/dependency" ) const ( engineErrorDelay = 3 * time.Second engineBounceDelay = 10 * time.Second ) func newEngine() ...
cae45d4ea0b01b70d2c4579ea84391be5317e872
geoconnect/apps/worldmap_layers/templates/metadata/unmatched_tabular_rows.html
geoconnect/apps/worldmap_layers/templates/metadata/unmatched_tabular_rows.html
<!-- START: Unmatched rows --> <p>The tabular data below was <b>NOT</b> mapped.</p> <br />Count: <b>{{ failed_records_list|length }} row{{ failed_records_list|pluralize }}</b> </p> <div class="row"> <div class="col-sm-12"> <table id="unmatched-tbl" class="table table-bordered table-hover table-striped t...
<!-- START: Unmatched rows --> <p>The tabular data below was <b>NOT</b> mapped.</p> <br />Count: <b>{{ failed_records_list|length }} row{{ failed_records_list|pluralize }}</b> </p> <div class="row"> <div class="col-sm-12"> <table id="unmatched-tbl" class="table table-bordered table-hover table-striped t...
Clean up layout of preview table in View Map Metadata popup.
Clean up layout of preview table in View Map Metadata popup.
HTML
apache-2.0
IQSS/geoconnect,IQSS/geoconnect,IQSS/geoconnect,IQSS/geoconnect
html
## Code Before: <!-- START: Unmatched rows --> <p>The tabular data below was <b>NOT</b> mapped.</p> <br />Count: <b>{{ failed_records_list|length }} row{{ failed_records_list|pluralize }}</b> </p> <div class="row"> <div class="col-sm-12"> <table id="unmatched-tbl" class="table table-bordered table-hover...
43350965e171e6a3bfd89af3dd192ab5c9281b3a
vumi/blinkenlights/tests/test_message20110818.py
vumi/blinkenlights/tests/test_message20110818.py
from twisted.trial.unittest import TestCase import vumi.blinkenlights.message20110818 as message import time class TestMessage(TestCase): def test_to_dict(self): now = time.time() datapoint = ("vumi.w1.a_metric", now, 1.5) msg = message.MetricMessage() msg.append(datapoint) ...
from twisted.trial.unittest import TestCase import vumi.blinkenlights.message20110818 as message import time class TestMessage(TestCase): def test_to_dict(self): now = time.time() datapoint = ("vumi.w1.a_metric", now, 1.5) msg = message.MetricMessage() msg.append(datapoint) ...
Add test for extend method.
Add test for extend method.
Python
bsd-3-clause
TouK/vumi,vishwaprakashmishra/xmatrix,vishwaprakashmishra/xmatrix,vishwaprakashmishra/xmatrix,TouK/vumi,harrissoerja/vumi,TouK/vumi,harrissoerja/vumi,harrissoerja/vumi
python
## Code Before: from twisted.trial.unittest import TestCase import vumi.blinkenlights.message20110818 as message import time class TestMessage(TestCase): def test_to_dict(self): now = time.time() datapoint = ("vumi.w1.a_metric", now, 1.5) msg = message.MetricMessage() msg.append(d...
4c9d81d53ec695cfd949523f02da906152aa8f33
examples/encrypted/service_group.yml
examples/encrypted/service_group.yml
apiVersion: v1 kind: Secret metadata: name: example-encrypted-service-group-ring-key type: Opaque data: # base64-encoded ring key ring-key: U1lNLVNFQy0xCnJpbmcta2V5LTIwMTcwODE2MTAyMDQ5CgpyTmtKbkJxZHppVWdmdnYweEVhaWpzMWxHUGZUdHBLdFg0L0xaMmpQcWdJPQ== --- apiVersion: habitat.sh/v1 kind: ServiceGroup metadata: name...
apiVersion: v1 kind: Secret metadata: name: example-encrypted-service-group-ring-key type: Opaque data: # base64-encoded ring key ring-key: U1lNLVNFQy0xCnJpbmcta2V5LTIwMTcwODE2MTAyMDQ5CgpyTmtKbkJxZHppVWdmdnYweEVhaWpzMWxHUGZUdHBLdFg0L0xaMmpQcWdJPQ== --- apiVersion: habitat.sh/v1 kind: ServiceGroup metadata: name...
Use leader topology in example
Use leader topology in example This allows users to see whether ring communication actually works. And since we are in a leader topology, it makes sense to use an application that itself elects a leader.
YAML
apache-2.0
kinvolk/habitat-operator,kinvolk/habitat-operator
yaml
## Code Before: apiVersion: v1 kind: Secret metadata: name: example-encrypted-service-group-ring-key type: Opaque data: # base64-encoded ring key ring-key: U1lNLVNFQy0xCnJpbmcta2V5LTIwMTcwODE2MTAyMDQ5CgpyTmtKbkJxZHppVWdmdnYweEVhaWpzMWxHUGZUdHBLdFg0L0xaMmpQcWdJPQ== --- apiVersion: habitat.sh/v1 kind: ServiceGroup ...
303bfda521cc036ce32f117ed37c048a49374cdf
vendor/init.bat
vendor/init.bat
:: Init Script for cmd.exe :: Sets some nice defaults :: Created as part of cmder project :: Change the prompt style :: Mmm tasty lamb @prompt $E[1;32;40m$P$S{git}$S$_$E[1;30;40m{lamb}$S$E[0m :: Pick right version of clink @if "%PROCESSOR_ARCHITECTURE%"=="x86" ( set architecture=86 ) else ( set architecture=6...
:: Init Script for cmd.exe :: Sets some nice defaults :: Created as part of cmder project :: Change the prompt style :: Mmm tasty lamb @prompt $E[1;32;40m$P$S{git}$S$_$E[1;30;40m{lamb}$S$E[0m :: Pick right version of clink @if "%PROCESSOR_ARCHITECTURE%"=="x86" ( set architecture=86 ) else ( set architecture=6...
Use HOME if already set.
Use HOME if already set.
Batchfile
mit
cmderdev/cmder,cmderdev/cmder
batchfile
## Code Before: :: Init Script for cmd.exe :: Sets some nice defaults :: Created as part of cmder project :: Change the prompt style :: Mmm tasty lamb @prompt $E[1;32;40m$P$S{git}$S$_$E[1;30;40m{lamb}$S$E[0m :: Pick right version of clink @if "%PROCESSOR_ARCHITECTURE%"=="x86" ( set architecture=86 ) else ( se...
54fed05df7e0f99351ab5bfd4593515e1440026a
test/getReferenceList.js
test/getReferenceList.js
'use strict'; var CE = require('..'); describe('Test getReferenceList', function () { it('Check the json', function () { this.timeout(20000); this.retries(5); return CE.getReferenceList('https://googledocs.cheminfo.org/spreadsheets/d/15Kuc5MeOhvm4oeTMvEuP1rWdRFiVWosxXhYwAmuf3Uo/export?for...
'use strict'; var CE = require('..'); describe('Test getReferenceList', function () { it('Check the existing json', function () { this.timeout(20000); this.retries(5); return CE.getReferenceList('https://googledocs.cheminfo.org/spreadsheets/d/15Kuc5MeOhvm4oeTMvEuP1rWdRFiVWosxXhYwAmuf3Uo/e...
Add testcase for file not found
Add testcase for file not found
JavaScript
mit
cheminfo-js/chemcalc-extended
javascript
## Code Before: 'use strict'; var CE = require('..'); describe('Test getReferenceList', function () { it('Check the json', function () { this.timeout(20000); this.retries(5); return CE.getReferenceList('https://googledocs.cheminfo.org/spreadsheets/d/15Kuc5MeOhvm4oeTMvEuP1rWdRFiVWosxXhYwAm...
13ab49d25813acc0e2dae635b248f52362537f75
README.md
README.md
Count the number of days a journal has entries in it. This is a basic python script which accepts input from the clipboard and outputs the number of days that you did an entry. Each journal day entry must have a text in the following form to be counted: {YYYY-MM-DD, optional tag1, optional tag2, optional tag3} If y...
Count the number of days a journal has entries in it. This is a basic python script which accepts input from the clipboard and outputs the number of days that you did an entry. Each journal day entry must have a text in the following form to be counted: {YYYY-MM-DD, Duration, optional tag1, optional tag2, optional t...
Update to readme to reflect wide format, duration column
Update to readme to reflect wide format, duration column
Markdown
mit
dgmckenna/journalcountworkdays
markdown
## Code Before: Count the number of days a journal has entries in it. This is a basic python script which accepts input from the clipboard and outputs the number of days that you did an entry. Each journal day entry must have a text in the following form to be counted: {YYYY-MM-DD, optional tag1, optional tag2, opti...
52bfbea4e2cb17268349b61c7f00b9253755e74d
example/books/models.py
example/books/models.py
from __future__ import unicode_literals from django.core.urlresolvers import reverse from django.db import models import generic_scaffold class Book(models.Model): title = models.CharField(max_length=128) author = models.CharField(max_length=128) category = models.CharField(max_length=32) def get_abs...
from __future__ import unicode_literals try: from django.core.urlresolvers import reverse except ModuleNotFoundError: from django.urls import reverse from django.db import models import generic_scaffold class Book(models.Model): title = models.CharField(max_length=128) author = models.CharField(max_l...
Add support for django 2 to example project
Add support for django 2 to example project
Python
mit
spapas/django-generic-scaffold,spapas/django-generic-scaffold
python
## Code Before: from __future__ import unicode_literals from django.core.urlresolvers import reverse from django.db import models import generic_scaffold class Book(models.Model): title = models.CharField(max_length=128) author = models.CharField(max_length=128) category = models.CharField(max_length=32) ...
ecedb0caa4044bb06e494d0d7dd927bbe9d08488
app/models/relationship.rb
app/models/relationship.rb
class Relationship < ActiveRecord::Base belongs_to :partner belongs_to :student attr_accessible :status end
class Relationship < ActiveRecord::Base belongs_to :partner belongs_to :student attr_accessible :connected, :partner_id, :student_id #Make a pending relationship between a partner and user def self.pending(partner_id, student_id) new(partner_id: partner_id, student_id: student_id, connec...
Add methods for checking and creating connections
Add methods for checking and creating connections
Ruby
mit
natsteinmetz/partner_dashboard,natsteinmetz/partner_dashboard
ruby
## Code Before: class Relationship < ActiveRecord::Base belongs_to :partner belongs_to :student attr_accessible :status end ## Instruction: Add methods for checking and creating connections ## Code After: class Relationship < ActiveRecord::Base belongs_to :partner belongs_to :student attr_accessible :co...
7a68bc1d5cd368f33a0da3d56096ef1ee47cb579
src/machine/stella/tia/LatchedInput.ts
src/machine/stella/tia/LatchedInput.ts
import SwitchInterface from '../../io/SwitchInterface'; export default class LatchedInput { constructor(private _switch: SwitchInterface) { this.reset(); this._switch.stateChanged.addHandler((state: boolean) => { if (this._modeLatched && !state) { this._latchedValue = ...
import SwitchInterface from '../../io/SwitchInterface'; export default class LatchedInput { constructor(private _switch: SwitchInterface) { this.reset(); } reset(): void { this._modeLatched = false; this._latchedValue = 0; } vblank(value: number): void { if ((valu...
Change latched input to match spec -> golf works. Who would have thought that the spec meant THAT?
Change latched input to match spec -> golf works. Who would have thought that the spec meant THAT?
TypeScript
mit
6502ts/6502.ts,DirtyHairy/6502.ts,DirtyHairy/6502.ts,6502ts/6502.ts,DirtyHairy/6502.ts,6502ts/6502.ts,6502ts/6502.ts,6502ts/6502.ts,DirtyHairy/6502.ts
typescript
## Code Before: import SwitchInterface from '../../io/SwitchInterface'; export default class LatchedInput { constructor(private _switch: SwitchInterface) { this.reset(); this._switch.stateChanged.addHandler((state: boolean) => { if (this._modeLatched && !state) { this....
78be30be622d78ce3146ae659f1277b5ff127b57
website/app/index/sidebar-projects.js
website/app/index/sidebar-projects.js
Application.Directives.directive("sidebarProjects", sidebarProjectsDirective); function sidebarProjectsDirective() { return { restrict: "AE", replace: true, templateUrl: "index/sidebar-projects.html", controller: "sidebarProjectsDirectiveController" }; } Application.Controllers...
Application.Directives.directive("sidebarProjects", sidebarProjectsDirective); function sidebarProjectsDirective() { return { restrict: "AE", replace: true, templateUrl: "index/sidebar-projects.html", controller: "sidebarProjectsDirectiveController" }; } Application.Controllers...
Switch project view when user picks a different project.
Switch project view when user picks a different project.
JavaScript
mit
materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org
javascript
## Code Before: Application.Directives.directive("sidebarProjects", sidebarProjectsDirective); function sidebarProjectsDirective() { return { restrict: "AE", replace: true, templateUrl: "index/sidebar-projects.html", controller: "sidebarProjectsDirectiveController" }; } Applica...
f4137e233248a1eefee9bb617f14913c408a0c3c
packages/ac/acme-operators.yaml
packages/ac/acme-operators.yaml
homepage: https://github.com/phadej/acme-operators#readme changelog-type: '' hash: efc82b017644675de7b92fa859134baf206610aff82411a888b08552b2fbb17f test-bench-deps: {} maintainer: Oleg Grenrus <oleg.grenrus@iki.fi> synopsis: Operators of base, all in one place! changelog: '' basic-deps: base: ! '>=4.7 && <4.9' all-ve...
homepage: https://github.com/phadej/acme-operators#readme changelog-type: '' hash: 4e9b71278dbe3b69118580191e4794bdede5a3fd5a3c62cf428893946a08183d test-bench-deps: {} maintainer: Oleg Grenrus <oleg.grenrus@iki.fi> synopsis: Operators of base, all in one place! changelog: '' basic-deps: base: ! '>=4.7 && <4.9' all-ve...
Update from Hackage at 2015-07-15T22:39:30+0000
Update from Hackage at 2015-07-15T22:39:30+0000
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: https://github.com/phadej/acme-operators#readme changelog-type: '' hash: efc82b017644675de7b92fa859134baf206610aff82411a888b08552b2fbb17f test-bench-deps: {} maintainer: Oleg Grenrus <oleg.grenrus@iki.fi> synopsis: Operators of base, all in one place! changelog: '' basic-deps: base: ! '>=4.7...
9b912281b20b64af9c17f5b2f3de83462d0a8da0
extension/manifest.json
extension/manifest.json
{ "manifest_version": 2, "name": "Unimelb Timetable to iCal", "version": "1.1.3", "description": "Converts the Unimelb timetable page into an iCal file", "icons": { "128": "icon-128.png" }, "page_action": { "default_icon": { "19": "icon-19.png", "38...
{ "manifest_version": 2, "name": "Unimelb Timetable to iCal", "version": "1.1.3", "description": "Converts the Unimelb timetable page into an iCal file", "icons": { "128": "icon-128.png" }, "page_action": { "default_icon": { "19": "icon-19.png", "38...
Update extension permissions to allow access to new unimelb dates page
Update extension permissions to allow access to new unimelb dates page This should fix #11 ... hopefully
JSON
mit
nuclearpidgeon/UoM-Timetable-to-iCal,nuclearpidgeon/UoM-Timetable-to-iCal,nuclearpidgeon/UoM-Timetable-to-iCal
json
## Code Before: { "manifest_version": 2, "name": "Unimelb Timetable to iCal", "version": "1.1.3", "description": "Converts the Unimelb timetable page into an iCal file", "icons": { "128": "icon-128.png" }, "page_action": { "default_icon": { "19": "icon-19.png",...
4e1730ede6e42aa33ce4ba452b3127860b32c73a
src/cxx11_std_exception_ptr_etc_example.cpp
src/cxx11_std_exception_ptr_etc_example.cpp
// C++11 passing exceptions around using std::exception_ptr #include <exception> #include <thread> #include <iostream> #include <cassert> std::exception_ptr g_stashed_exception_ptr; auto bad_task() -> void { try { std::thread().detach(); // Oops !! } catch ( ... ) { g_stashed_exception_ptr = std::c...
// C++11 passing exceptions around using std::exception_ptr #include <exception> #include <thread> #include <iostream> #include <cassert> std::exception_ptr g_stashed_exception_ptr; void bad_task() { try { std::thread().detach(); // Oops !! } catch ( ... ) { g_stashed_exception_ptr = std::current_e...
Change to traditional style for function return type declarations rather than new trailing return type syntax - it is more consistent with rest of example code and shorter
Change to traditional style for function return type declarations rather than new trailing return type syntax - it is more consistent with rest of example code and shorter
C++
bsd-3-clause
ralph-mcardell/article-cxx11-exception-support-examples,ralph-mcardell/article-cxx11-exception-support-examples
c++
## Code Before: // C++11 passing exceptions around using std::exception_ptr #include <exception> #include <thread> #include <iostream> #include <cassert> std::exception_ptr g_stashed_exception_ptr; auto bad_task() -> void { try { std::thread().detach(); // Oops !! } catch ( ... ) { g_stashed_except...
af295464215d5dcfced9d17bdd8ef7a49dd6d9b0
package.json
package.json
{ "name": "dub", "description": "Package manager for D packages", "license": "MIT", "copyright": "Copyright 2012 rejectedsoftware e.K.", "authors": [ "Matthias Dondorff", "Sönke Ludwig" ], "targetPath": "bin", "configurations": [ { "name": "application", "targetType": "executable", ...
{ "name": "dub", "description": "Package manager for D packages", "license": "MIT", "copyright": "Copyright 2012 rejectedsoftware e.K.", "authors": [ "Matthias Dondorff", "Sönke Ludwig" ], "targetPath": "bin", "configurations": [ { "name": "application", "targetType": "executable", ...
Fix linking for DMD 2.065 in Posix (breaks 2.064) when build using DUB
Fix linking for DMD 2.065 in Posix (breaks 2.064) when build using DUB
JSON
mit
gedaiu/dub,D-Programming-Language/dub,rjframe/dub,alexeibs/dub,nazriel/dub,Abscissa/dub,dreamsxin/dub,jeanbaptistelab/dub,Flamaros/dub,y12uc231/dub,grogancolin/dub,xentec/dub,Abscissa/dub-data-mod,p0nce/dub,jelmansouri/dub,Geod24/dub,schuetzm/dub
json
## Code Before: { "name": "dub", "description": "Package manager for D packages", "license": "MIT", "copyright": "Copyright 2012 rejectedsoftware e.K.", "authors": [ "Matthias Dondorff", "Sönke Ludwig" ], "targetPath": "bin", "configurations": [ { "name": "application", "targetType": "executable", ...
25f0796c2227600b4de812d3d39d4a512c3e5a34
utils/logger.js
utils/logger.js
var gUtil = require('gulp-util'); var chalk = require('chalk'); var prefix = chalk.yellow('[availity]'); var log = function(color, message) { message = chalk[color](message); message = [prefix, message].join(' '); gUtil.log(message); }; var logger = {}; logger.info = function(config, message) { if (!config....
var gUtil = require('gulp-util'); var chalk = require('chalk'); var prefix = chalk.yellow('[availity]'); var log = function(color, message) { message = chalk[color](message); message = [prefix, message].join(' '); gUtil.log(message); }; var logger = {}; logger.info = function(config, message) { if (config &...
Check for existence of config, config.args, and config.args.verbose before using
Check for existence of config, config.args, and config.args.verbose before using
JavaScript
mit
Availity/availity-limo
javascript
## Code Before: var gUtil = require('gulp-util'); var chalk = require('chalk'); var prefix = chalk.yellow('[availity]'); var log = function(color, message) { message = chalk[color](message); message = [prefix, message].join(' '); gUtil.log(message); }; var logger = {}; logger.info = function(config, message) ...
1eb687d49a4027839df04d4fdfcb8b933fb38c0a
app/scripts/configs/base-config.js
app/scripts/configs/base-config.js
'use strict'; angular.module('ncsaas') .constant('ENV', { // general config name: '', apiEndpoint: 'http://localhost:8080/', // auth config googleClientId: 'google client id', googleEndpointUrl: 'api-auth/google/', facebookClientId: 'facebook client id', facebookEndpointUrl: 'api-aut...
'use strict'; angular.module('ncsaas') .constant('ENV', { // general config name: '', apiEndpoint: 'http://localhost:8080/', // auth config googleClientId: 'google client id', googleEndpointUrl: 'api-auth/google/', facebookClientId: 'facebook client id', facebookEndpointUrl: 'api-aut...
Add showImport variable in base config.
Add showImport variable in base config. – SAAS-379
JavaScript
mit
opennode/waldur-homeport,opennode/waldur-homeport,opennode/waldur-homeport,opennode/waldur-homeport
javascript
## Code Before: 'use strict'; angular.module('ncsaas') .constant('ENV', { // general config name: '', apiEndpoint: 'http://localhost:8080/', // auth config googleClientId: 'google client id', googleEndpointUrl: 'api-auth/google/', facebookClientId: 'facebook client id', facebookEndpo...
c6eadf70db6113900a61674fd7195a9977f428a5
RealmSwift/Tests/TestUtils.h
RealmSwift/Tests/TestUtils.h
//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
Annotate RLMAssertThrows' block argument with noescape
[Tests] Annotate RLMAssertThrows' block argument with noescape
C
apache-2.0
duk42111/realm-cocoa,ul7290/realm-cocoa,codyDu/realm-cocoa,kylebshr/realm-cocoa,AlexanderMazaletskiy/realm-cocoa,bugix/realm-cocoa,bestwpw/realm-cocoa,yuuki1224/realm-cocoa,nathankot/realm-cocoa,xmartlabs/realm-cocoa,lumoslabs/realm-cocoa,codyDu/realm-cocoa,lumoslabs/realm-cocoa,imjerrybao/realm-cocoa,lumoslabs/realm-c...
c
## Code Before: //////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
f3717619edd5cf87440a367bbaef93c6ad499a00
WatsonDeveloperCloud/TextToSpeech/Models/Voice.swift
WatsonDeveloperCloud/TextToSpeech/Models/Voice.swift
/** * Copyright IBM Corporation 2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/** * Copyright IBM Corporation 2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Update comments for TextToSpeech models
Update comments for TextToSpeech models
Swift
apache-2.0
tad-iizuka/swift-sdk,watson-developer-cloud/ios-sdk,tad-iizuka/swift-sdk,watson-developer-cloud/ios-sdk,watson-developer-cloud/ios-sdk,tad-iizuka/swift-sdk,tad-iizuka/swift-sdk,tad-iizuka/swift-sdk,watson-developer-cloud/ios-sdk,watson-developer-cloud/ios-sdk
swift
## Code Before: /** * Copyright IBM Corporation 2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
b9615c387e17ba1bafd85f096322fa6473ea09a2
packages/gh/ghc-heap.yaml
packages/gh/ghc-heap.yaml
homepage: '' changelog-type: '' hash: 26fa2972b4137447891f8c8aca85100c9328452f7f817ae96912cc6d129b7c86 test-bench-deps: {} maintainer: libraries@haskell.org synopsis: Functions for walking GHC's heap changelog: '' basic-deps: base: '>=4.9.0 && <4.16.1' containers: '>=0.6.2.1 && <0.7' ghc-prim: '>0.2 && <0.9' rt...
homepage: '' changelog-type: '' hash: 03b9b1db02c02db279a9cdbf9589966a869a5537103199bc507bcb5169999117 test-bench-deps: {} maintainer: libraries@haskell.org synopsis: Functions for walking GHC's heap changelog: '' basic-deps: base: '>=4.9.0 && <5.0' containers: '>=0.6.2.1 && <0.7' ghc-prim: '>0.2 && <0.9' rts: ...
Update from Hackage at 2022-05-05T15:07:55Z
Update from Hackage at 2022-05-05T15:07:55Z
YAML
mit
commercialhaskell/all-cabal-metadata
yaml
## Code Before: homepage: '' changelog-type: '' hash: 26fa2972b4137447891f8c8aca85100c9328452f7f817ae96912cc6d129b7c86 test-bench-deps: {} maintainer: libraries@haskell.org synopsis: Functions for walking GHC's heap changelog: '' basic-deps: base: '>=4.9.0 && <4.16.1' containers: '>=0.6.2.1 && <0.7' ghc-prim: '>0...
0273a49689a6d4c694559cd55c44ed1ea084c300
css/main.css
css/main.css
body { margin: 60px auto; width: 70%; } nav ul, footer ul { font-family:'Helvetica', 'Arial', 'Sans-Serif'; padding: 0px; list-style: none; font-weight: bold; } nav ul li, footer ul li { display: inline; margin-right: 20px; } a { text-decoration: none; color: #999; } a:hover { ...
body { margin: 60px auto; width: 70%; } nav ul, footer ul { font-family:'Helvetica', 'Arial', 'Sans-Serif'; padding: 0px; list-style: none; font-weight: bold; } nav ul li, footer ul li { display: inline; margin-right: 20px; } a { text-decoration: none; color: #999; } a:hover { ...
Disable the nasty footer of DISQUS
Disable the nasty footer of DISQUS
CSS
mit
alexander-titov/alexander-titov.github.io
css
## Code Before: body { margin: 60px auto; width: 70%; } nav ul, footer ul { font-family:'Helvetica', 'Arial', 'Sans-Serif'; padding: 0px; list-style: none; font-weight: bold; } nav ul li, footer ul li { display: inline; margin-right: 20px; } a { text-decoration: none; color: #999...
9afde1054460245048eebcbe5597c1ca042c9c64
index.js
index.js
module.exports.encode = function encode(type, message) { if(type == null) { throw new Error('Type cannot be empty'); } message = message || ''; var b = new Buffer(14 + message.length); b.write('i3-ipc'); b.writeUInt32BE(message.length, 6); b.writeUInt32BE(type, 10); return b; };
module.exports.encode = function encode(type, message) { if(type == null) { throw new Error('Type cannot be empty'); } if(type > 7 || type < 0) { throw new Error('Unknown type ' + type); } message = message || ''; var b = new Buffer(14 + message.length); b.write('i3-ipc'); b.writeUInt32BE(messag...
Throw error when type is unknown
Throw error when type is unknown
JavaScript
mit
madbence/node-i3-protocol
javascript
## Code Before: module.exports.encode = function encode(type, message) { if(type == null) { throw new Error('Type cannot be empty'); } message = message || ''; var b = new Buffer(14 + message.length); b.write('i3-ipc'); b.writeUInt32BE(message.length, 6); b.writeUInt32BE(type, 10); return b; }; ## ...
a5da43f4097204a3ec24166a24f00514b51bae4e
_config.yml
_config.yml
title: "mov eax, 64" author: "Kevin Soules" description: "IT security, Hardware hacking, SDR" more: "read more" url: "http://libdev.so" markdown: redcarpet redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] comments: disqus: "eax64githubio" style: pa...
title: "mov eax, 64" author: "Kevin Soules" description: "IT security, Hardware hacking, SDR" more: "read more" url: "http://eax64.github.io" markdown: redcarpet redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] style: padding: 33% anchor: "#46f" s...
Update url field. Remove comment section.
Update url field. Remove comment section.
YAML
mit
eax64/eax64.github.io,eax64/eax64.github.io
yaml
## Code Before: title: "mov eax, 64" author: "Kevin Soules" description: "IT security, Hardware hacking, SDR" more: "read more" url: "http://libdev.so" markdown: redcarpet redcarpet: extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] comments: disqus: "eax64githubio...
64f8448959733f519df739e46ae9e844de7f1f3b
hubblestack_nova/sample_sysctl.yaml
hubblestack_nova/sample_sysctl.yaml
sysctl: whitelist: # or blacklist fstab_tmp_partition: # unique ID data: CentOS Linux-6: # osfinger grain - 'net.ipv4.ip_forward': # sysctl query tag: 'CIS-1.1.1' # audit tag match_output: '0' # string to check for in output of sysctl query '*': # ...
sysctl: whitelist: # or blacklist net.ipv4.ip_forward: # unique ID data: CentOS Linux-6: # osfinger grain - 'net.ipv4.ip_forward': # sysctl query tag: 'CIS-1.1.1' # audit tag match_output: '0' # string to check for in output of sysctl query '*': # ...
Fix ID for sample sysctl
Fix ID for sample sysctl
YAML
apache-2.0
avb76/Nova,SaltyCharles/Nova,cedwards/Nova,HubbleStack/Nova
yaml
## Code Before: sysctl: whitelist: # or blacklist fstab_tmp_partition: # unique ID data: CentOS Linux-6: # osfinger grain - 'net.ipv4.ip_forward': # sysctl query tag: 'CIS-1.1.1' # audit tag match_output: '0' # string to check for in output of sysctl query ...
1eb4ea44048030624f404f77ccc61ec72589b80a
devops/ansible_vagrant.cmake
devops/ansible_vagrant.cmake
set(ANSIBLE_INVENTORY "${PROJECT_SOURCE_DIR}/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory" CACHE FILEPATH "") set(ANSIBLE_PRIVATE_KEY "${PROJECT_SOURCE_DIR}/.vagrant/machines/girder/virtualbox/private_key" CACHE FILEPATH "") set(ANSIBLE_USER "vagrant" CACHE STRING "User to ssh into the vagrantbox a...
set(ANSIBLE_INVENTORY "${PROJECT_SOURCE_DIR}/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory" CACHE FILEPATH "") set(ANSIBLE_PRIVATE_KEY "${PROJECT_SOURCE_DIR}/.vagrant/machines/girder/virtualbox/private_key" CACHE FILEPATH "") set(ANSIBLE_USER "vagrant" CACHE STRING "User to ssh into the vagrantbox a...
Fix failure regex to include when plays are run on 0 hosts because of mismatching hosts
Fix failure regex to include when plays are run on 0 hosts because of mismatching hosts
CMake
apache-2.0
RafaelPalomar/girder,data-exp-lab/girder,data-exp-lab/girder,Xarthisius/girder,adsorensen/girder,girder/girder,data-exp-lab/girder,sutartmelson/girder,kotfic/girder,manthey/girder,kotfic/girder,RafaelPalomar/girder,adsorensen/girder,sutartmelson/girder,adsorensen/girder,data-exp-lab/girder,jbeezley/girder,Xarthisius/gi...
cmake
## Code Before: set(ANSIBLE_INVENTORY "${PROJECT_SOURCE_DIR}/.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory" CACHE FILEPATH "") set(ANSIBLE_PRIVATE_KEY "${PROJECT_SOURCE_DIR}/.vagrant/machines/girder/virtualbox/private_key" CACHE FILEPATH "") set(ANSIBLE_USER "vagrant" CACHE STRING "User to ssh into ...
edf67fb99af11fbf9b62b1a67dd9992a247fe326
setup_directory.py
setup_directory.py
from __future__ import division, print_function, absolute_import import argparse import os import subprocess as sp from contextlib import contextmanager import tempfile try: import urllib.request as urllib2 except ImportError: import urllib2 MINICONDA_URL = 'https://repo.continuum.io/miniconda/Miniconda-lates...
from __future__ import division, print_function, absolute_import import argparse import os import subprocess as sp from contextlib import contextmanager import tempfile try: import urllib.request as urllib2 except ImportError: import urllib2 MINICONDA_URL = 'https://repo.continuum.io/miniconda/Miniconda-lates...
Add change directory context manager
Add change directory context manager
Python
mit
NGTS/pipeline-output-analysis-setup-script
python
## Code Before: from __future__ import division, print_function, absolute_import import argparse import os import subprocess as sp from contextlib import contextmanager import tempfile try: import urllib.request as urllib2 except ImportError: import urllib2 MINICONDA_URL = 'https://repo.continuum.io/miniconda...
0e2270415b287cb643cff5023dcaacbcb2d5e3fc
translators/google.py
translators/google.py
import time import requests def save_google_translation(queue, source_text, client_id, client_secret, translate_from='et', translate_to='en'): translation = '' try: begin = time.time() translation = google_translation(source_text, translate_from=trans...
import time import requests import json def save_google_translation(queue, source_text, translate_from='et', translate_to='en'): translation = '' try: begin = time.time() translation = google_translation(source_text, translate_from=translate_from, ...
Fix Google Translator request & processing
Fix Google Translator request & processing
Python
mit
ChameleonTartu/neurotolge,ChameleonTartu/neurotolge,ChameleonTartu/neurotolge
python
## Code Before: import time import requests def save_google_translation(queue, source_text, client_id, client_secret, translate_from='et', translate_to='en'): translation = '' try: begin = time.time() translation = google_translation(source_text, tran...
33fc15aa01ba352edb8062de92f3c3e3ff070f06
lib/wkhtmltopdf-heroku.rb
lib/wkhtmltopdf-heroku.rb
PDFKit.configure do |config| config.wkhtmltopdf = File.expand_path "../../bin/wkhtmltopdf-linux-amd64", __FILE__ # config.default_options = { # :page_size => 'Legal', # :print_media_type => true # } # config.root_url = "http://localhost" # Use only if your external hostname is unavailable on the server....
require 'pdfkit' PDFKit.configure do |config| config.wkhtmltopdf = File.expand_path "../../bin/wkhtmltopdf-linux-amd64", __FILE__ # config.default_options = { # :page_size => 'Legal', # :print_media_type => true # } # config.root_url = "http://localhost" # Use only if your external hostname is unavailab...
Add missing require for pdfkit
Add missing require for pdfkit
Ruby
mit
pallymore/wkhtmltopdf-heroku-edge,rposborne/wkhtmltopdf-heroku,pallymore/wkhtmltopdf-heroku
ruby
## Code Before: PDFKit.configure do |config| config.wkhtmltopdf = File.expand_path "../../bin/wkhtmltopdf-linux-amd64", __FILE__ # config.default_options = { # :page_size => 'Legal', # :print_media_type => true # } # config.root_url = "http://localhost" # Use only if your external hostname is unavailabl...
7c0fbd533ae617e0ab28d1a21ddcf5d9fa4927d7
.travis.yml
.travis.yml
sudo: false language: node_js node_js: - "4" - "5" cache: directories: - node_modules addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 install: - export CXX="g++-4.8" - npm install - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfi...
sudo: false language: node_js node_js: - "4" - "5" cache: directories: - node_modules addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 install: - export CXX="g++-4.8" - npm install - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfi...
Add lint task to Travis
Add lint task to Travis
YAML
mit
otissv/projectkit,ThomasBaldry/mould-maker-desktop,xuandeng/base_app,treyhuffine/tuchbase,alecholmez/crew-electron,dfucci/Borrowr,ThomasBaldry/mould-maker-desktop,zackhall/ack-chat,kaunio/gloso,Thecontrarian/bmux,Byte-Code/lm-digitalstore,bird-system/bs-label-convertor,mitchconquer/electron_cards,knpwrs/electron-react-...
yaml
## Code Before: sudo: false language: node_js node_js: - "4" - "5" cache: directories: - node_modules addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 install: - export CXX="g++-4.8" - npm install - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99....
5ecd614c1e2ca420d1d9629c375ddea04ff32cc0
robolectric/src/main/java/org/robolectric/android/fakes/RoboMonitoringInstrumentation.java
robolectric/src/main/java/org/robolectric/android/fakes/RoboMonitoringInstrumentation.java
package org.robolectric.android.fakes; import android.app.Activity; import android.content.Intent; import android.content.pm.ActivityInfo; import androidx.test.runner.MonitoringInstrumentation; import org.robolectric.Robolectric; import org.robolectric.android.controller.ActivityController; public class RoboMonitorin...
package org.robolectric.android.fakes; import android.app.Activity; import android.content.Intent; import android.content.pm.ActivityInfo; import androidx.test.runner.MonitoringInstrumentation; import org.robolectric.Robolectric; import org.robolectric.android.controller.ActivityController; import org.robolectric.shad...
Call through to ShadowLooper on Instrumentation.waitForIdleSync
Call through to ShadowLooper on Instrumentation.waitForIdleSync PiperOrigin-RevId: 203801396
Java
mit
jongerrish/robolectric,spotify/robolectric,spotify/robolectric,spotify/robolectric,jongerrish/robolectric,jongerrish/robolectric,jongerrish/robolectric
java
## Code Before: package org.robolectric.android.fakes; import android.app.Activity; import android.content.Intent; import android.content.pm.ActivityInfo; import androidx.test.runner.MonitoringInstrumentation; import org.robolectric.Robolectric; import org.robolectric.android.controller.ActivityController; public cla...
b12633ef12e923c723595725d53c2a6b9416b6f4
lib/microcrawler/supervisor/event.ex
lib/microcrawler/supervisor/event.ex
defmodule Microcrawler.Supervisor.Event do require Logger use Supervisor @server __MODULE__ def start_link do Logger.info("Starting #{__MODULE__}") Supervisor.start_link(@server, :ok, [name: @server]) end def init(:ok) do config_path = Path.join([System.user_home(), '...
defmodule Microcrawler.Supervisor.Event do require Logger use Supervisor @server __MODULE__ def start_link do Logger.info("Starting #{__MODULE__}") Supervisor.start_link(@server, :ok, [name: @server]) end def init(:ok) do config_path = Path.join([System.user_home(), '...
Use supervisors instead of workers in Microcrawler.Supervisor.Event
Use supervisors instead of workers in Microcrawler.Supervisor.Event
Elixir
mit
ApolloCrawler/microcrawler-elixir
elixir
## Code Before: defmodule Microcrawler.Supervisor.Event do require Logger use Supervisor @server __MODULE__ def start_link do Logger.info("Starting #{__MODULE__}") Supervisor.start_link(@server, :ok, [name: @server]) end def init(:ok) do config_path = Path.join([Syste...
07321f77f671c671eacbc0dc61ac00480f6f46fc
README.md
README.md
MantisBT PHP Client =================== This is a php client for MantisBT / MantisHub. It's goal is to simplify interacting with SOAP API from PHP. Requirements ------------ - MantisHub (supported) - MantisBT 1.3.x (supported) - MantisBT 1.2.16+ (use latest 1.2.x release)
MantisBT PHP Client =================== This is a php client for MantisBT / MantisHub. It's goal is to simplify interacting with SOAP API from PHP. Requirements ------------ - MantisHub (supported) - MantisBT 2.x.y (supported) - MantisBT 1.3.x (supported) - MantisBT 1.2.16+ (use latest 1.2.x release)
Update readme with 2.x.y support
Update readme with 2.x.y support
Markdown
mit
mantishub/MantisPhpClient,vboctor/mantis-php-client
markdown
## Code Before: MantisBT PHP Client =================== This is a php client for MantisBT / MantisHub. It's goal is to simplify interacting with SOAP API from PHP. Requirements ------------ - MantisHub (supported) - MantisBT 1.3.x (supported) - MantisBT 1.2.16+ (use latest 1.2.x release) ## Instruction: Update rea...
cde61a1c4fbfd356d471bf52bb7762f3084d76e5
script/check_contributors_md.rb
script/check_contributors_md.rb
require "English" puts "Checking to see if you're in CONTRIBUTORS.md..." if ENV['TRAVIS'] if ENV['TRAVIS_PULL_REQUEST'] require 'httparty' repo = ENV['TRAVIS_REPO_SLUG'] pr = ENV['TRAVIS_PULL_REQUEST'] url = "https://api.github.com/repos/#{repo}/pulls/#{pr}" response = HTTParty.get(url).parsed_r...
require "English" puts "Checking to see if you're in CONTRIBUTORS.md..." if ENV['TRAVIS'] if ENV['TRAVIS_PULL_REQUEST'] require 'httparty' repo = ENV['TRAVIS_REPO_SLUG'] pr = ENV['TRAVIS_PULL_REQUEST'] url = "https://api.github.com/repos/#{repo}/pulls/#{pr}" response = HTTParty.get(url).parsed_r...
Use Regex to search for author
Use Regex to search for author
Ruby
agpl-3.0
Growstuff/growstuff,Growstuff/growstuff,yez/growstuff,Growstuff/growstuff,Br3nda/growstuff,cesy/growstuff,cesy/growstuff,yez/growstuff,Growstuff/growstuff,cesy/growstuff,Br3nda/growstuff,yez/growstuff,cesy/growstuff,Br3nda/growstuff,Br3nda/growstuff,yez/growstuff
ruby
## Code Before: require "English" puts "Checking to see if you're in CONTRIBUTORS.md..." if ENV['TRAVIS'] if ENV['TRAVIS_PULL_REQUEST'] require 'httparty' repo = ENV['TRAVIS_REPO_SLUG'] pr = ENV['TRAVIS_PULL_REQUEST'] url = "https://api.github.com/repos/#{repo}/pulls/#{pr}" response = HTTParty.g...
beb1798ae2b93c0047d1d169eca1c926f89385bd
web/routers/river_router.ex
web/routers/river_router.ex
defmodule RiverRouter do use Dynamo.Router filter EventStreamHeader filter TokenFilter get "/" do {:ok, _transistor} = Funnel.Transistors.add conn.params[:token] conn = conn.send_chunked(200) conn = Funnel.Transistor.add(conn, conn.params[:token], conn.params[:last_id]) await(conn, &on_wake_up(...
defmodule RiverRouter do use Dynamo.Router filter EventStreamHeader filter TokenFilter get "/" do {:ok, _transistor} = Funnel.Transistors.add conn.assigns[:token] conn = conn.send_chunked(200) conn = Funnel.Transistor.add(conn, conn.assigns[:token], conn.params[:last_id]) await(conn, &on_wake_u...
Fix Authorization header for `/river`
Fix Authorization header for `/river` Signed-off-by: chatgris <f9469d12bf3d131e7aae80be27ccfe58aa9db1f1@af83.com>
Elixir
mit
chatgris/funnel
elixir
## Code Before: defmodule RiverRouter do use Dynamo.Router filter EventStreamHeader filter TokenFilter get "/" do {:ok, _transistor} = Funnel.Transistors.add conn.params[:token] conn = conn.send_chunked(200) conn = Funnel.Transistor.add(conn, conn.params[:token], conn.params[:last_id]) await(co...
70f117f63f2e7decb19e8c5b303137362f71d3eb
circle.yml
circle.yml
machine: python: version: 2.7 environment: TOX_ENV: docs TOX_ENV: lint TOX_ENV: py26 TOX_ENV: py27 checkout: post: - git submodule update --init dependencies: pre: - pip install tox test: override: - tox -e $TOX_ENV
machine: python: version: 2.7 environment: TOX_ENV: docs TOX_ENV: lint TOX_ENV: py26 TOX_ENV: py27 checkout: post: - git submodule update --init dependencies: pre: - pip install -U pip setuptools - pip install tox test: override: ...
Install the latest pip & setuptools packages
Install the latest pip & setuptools packages
YAML
apache-2.0
ZachMassia/platformio,platformio/platformio-core,atyenoria/platformio,dkuku/platformio,mcanthony/platformio,platformio/platformio-core,valeros/platformio,eiginn/platformio,mplewis/platformio,platformio/platformio,mseroczynski/platformio
yaml
## Code Before: machine: python: version: 2.7 environment: TOX_ENV: docs TOX_ENV: lint TOX_ENV: py26 TOX_ENV: py27 checkout: post: - git submodule update --init dependencies: pre: - pip install tox test: override: - tox -e $TOX_ENV ...
03f5c68dcd1383138f090a0de110a466433364c9
src/state/boardReducer.js
src/state/boardReducer.js
import { Map } from 'immutable'; import { START_LINE, END_LINE } from './../client/app/canvas/canvasActions'; export const initialBoard = Map({ isDrawing: false }); const boardReducer = (state = initialBoard, action) => { switch (action.type) { case START_LINE: return state.set('isDrawing', true); ...
import { Map } from 'immutable'; import { START_LINE, END_LINE } from './../client/app/canvas/canvasActions'; import { CONNECT_USER } from './../client/socket/socketActions'; export const initialBoard = Map({ userId: null, isDrawing: false }); const boardReducer = (state = initialBoard, action) => { switch (ac...
Add current user id to client side state
Add current user id to client side state
JavaScript
bsd-3-clause
jackrzhang/boardsession,jackrzhang/boardsession
javascript
## Code Before: import { Map } from 'immutable'; import { START_LINE, END_LINE } from './../client/app/canvas/canvasActions'; export const initialBoard = Map({ isDrawing: false }); const boardReducer = (state = initialBoard, action) => { switch (action.type) { case START_LINE: return state.set('isD...
5ad598310f288b5c24a437534a5ff7a67f6b52a8
lib/rails-footnotes/notes/view_note.rb
lib/rails-footnotes/notes/view_note.rb
module Footnotes module Notes class ViewNote < AbstractNote cattr_accessor :template def self.start!(controller) @subscriber ||= ActiveSupport::Notifications.subscribe('render_template.action_view') do |*args| event = ActiveSupport::Notifications::Event.new *args self.temp...
module Footnotes module Notes class ViewNote < AbstractNote cattr_accessor :template def self.start!(controller) @subscriber ||= ActiveSupport::Notifications.subscribe('render_template.action_view') do |*args| event = ActiveSupport::Notifications::Event.new *args self.temp...
Remove variable for not having @template in controller
Remove variable for not having @template in controller
Ruby
mit
josevalim/rails-footnotes,jasnow/rails-footnotes,josevalim/rails-footnotes,jasnow/rails-footnotes,josevalim/rails-footnotes,jasnow/rails-footnotes
ruby
## Code Before: module Footnotes module Notes class ViewNote < AbstractNote cattr_accessor :template def self.start!(controller) @subscriber ||= ActiveSupport::Notifications.subscribe('render_template.action_view') do |*args| event = ActiveSupport::Notifications::Event.new *args ...
8d543695474c0a6b194491ed7aca2593a0c424a7
graphics/examplesTcl/Cone.tcl
graphics/examplesTcl/Cone.tcl
catch {load vtktcl} # user interface command widget source ../../examplesTcl/vtkInt.tcl # create a rendering window and renderer vtkRenderer ren1 vtkRenderWindow renWin renWin AddRenderer ren1 vtkRenderWindowInteractor iren iren SetRenderWindow renWin # create an actor and give it cone geometry vtkConeSource ...
catch {load vtktcl} # user interface command widget source ../../examplesTcl/vtkInt.tcl # create a rendering window and renderer vtkRenderer ren1 vtkRenderWindow renWin renWin AddRenderer ren1 renWin StereoCapableWindowOn vtkRenderWindowInteractor iren iren SetRenderWindow renWin # create an actor and g...
Change script to request a stereo capable window.
Change script to request a stereo capable window.
Tcl
bsd-3-clause
sumedhasingla/VTK,Wuteyan/VTK,naucoin/VTKSlicerWidgets,daviddoria/PointGraphsPhase1,SimVascular/VTK,gram526/VTK,hendradarwin/VTK,keithroe/vtkoptix,SimVascular/VTK,demarle/VTK,keithroe/vtkoptix,keithroe/vtkoptix,jeffbaumes/jeffbaumes-vtk,hendradarwin/VTK,SimVascular/VTK,johnkit/vtk-dev,keithroe/vtkoptix,spthaolt/VTK,ber...
tcl
## Code Before: catch {load vtktcl} # user interface command widget source ../../examplesTcl/vtkInt.tcl # create a rendering window and renderer vtkRenderer ren1 vtkRenderWindow renWin renWin AddRenderer ren1 vtkRenderWindowInteractor iren iren SetRenderWindow renWin # create an actor and give it cone geometr...
7c12c7fd2a75c9f9e817f77258475f0f6c469950
README.md
README.md
A small application that allows you to use Pattern Lab without using the command line. It can only control grunt and gulp versions for now. ## Build steps ``` git clone https://github.com/andeersg/patternlab-desktop cd patternlab-desktop yarn yarn start ``` This project uses [Electron Forge](https://github.com/ele...
A small application that allows you to use Pattern Lab without using the command line. It can only control grunt and gulp versions for now. ## Build steps ``` git clone https://github.com/andeersg/patternlab-desktop cd patternlab-desktop npm install npm start ``` This project uses [Electron Forge](https://github.c...
Switch readme from yarn to npm
Switch readme from yarn to npm
Markdown
mit
andeersg/patternlab-desktop,andeersg/patternlab-desktop
markdown
## Code Before: A small application that allows you to use Pattern Lab without using the command line. It can only control grunt and gulp versions for now. ## Build steps ``` git clone https://github.com/andeersg/patternlab-desktop cd patternlab-desktop yarn yarn start ``` This project uses [Electron Forge](https:...
b5806c8437c001f1464424a9c91645776c45ea7c
__tests__/configurePlugins.test.js
__tests__/configurePlugins.test.js
import configurePlugins from '../src/util/configurePlugins' test('setting a plugin to false removes it', () => { const plugins = { fontSize: (options) => { return { plugin: 'fontSize', options, } }, display: (options) => { return { plugin: 'display', opti...
import configurePlugins from '../src/util/configurePlugins' test('setting a plugin to false removes it', () => { const plugins = { fontSize: (options) => { return { plugin: 'fontSize', options, } }, display: (options) => { return { plugin: 'display', opti...
Test overriding a core plugin's config
Test overriding a core plugin's config
JavaScript
mit
tailwindlabs/tailwindcss,tailwindcss/tailwindcss,tailwindlabs/tailwindcss,tailwindlabs/tailwindcss
javascript
## Code Before: import configurePlugins from '../src/util/configurePlugins' test('setting a plugin to false removes it', () => { const plugins = { fontSize: (options) => { return { plugin: 'fontSize', options, } }, display: (options) => { return { plugin: 'displa...
18120f467bdca7d93534982084f874e95f8bd8b3
roles/ssp/tasks/install-common.yml
roles/ssp/tasks/install-common.yml
--- - name: Checkout SSP source git: repo: "{{ ssp_repo_url }}" dest: "{{ ssp_path }}" version: "{{ ssp_repo_version }}" accept_hostkey: yes force: yes become: yes - name: Download Composer get_url: url=https://getcomposer.org/installer dest={{ ssp_path }}/composer-installer validate_certs=n...
--- - name: Checkout SSP source git: repo: "{{ ssp_repo_url }}" dest: "{{ ssp_path }}" version: "{{ ssp_repo_version }}" accept_hostkey: yes force: no update: no become: yes - name: Download Composer get_url: url=https://getcomposer.org/installer dest={{ ssp_path }}/composer-installer va...
Disable SSP git repo updates
Disable SSP git repo updates
YAML
apache-2.0
rciam/rciam-deploy,rciam/rciam-deploy
yaml
## Code Before: --- - name: Checkout SSP source git: repo: "{{ ssp_repo_url }}" dest: "{{ ssp_path }}" version: "{{ ssp_repo_version }}" accept_hostkey: yes force: yes become: yes - name: Download Composer get_url: url=https://getcomposer.org/installer dest={{ ssp_path }}/composer-installer ...
ffc798525509e452eb7a58b025605be5f629f727
src/middleware/hidden-fields.js
src/middleware/hidden-fields.js
"use strict"; var _ = require('underscore'); /** * Hidden fields middleware. * * This piece of middleware handles field visibility on the models. It looks for * documents that match the current collection and if it finds any field specs then * it exposes them on `req.fields`. * * The fields spec is passed dire...
"use strict"; var _ = require('underscore'); var async = require('async'); /** * Hidden fields middleware. * * This piece of middleware handles field visibility on the models. It looks for * documents that match the current collection and if it finds any field specs then * it exposes them on `req.fields`. * * ...
Handle hidden fields on individual documents
Handle hidden fields on individual documents This handles hiding fields on individual documents as opposed to doing it collection-wide. Currently it only works for `/:collection/:id` routes, I foresee a potential issue with the `/:collection` urls because there will be multiple individual documents in the response, so...
JavaScript
agpl-3.0
Sinar/popit-api,mysociety/popit-api,Sinar/popit-api,mysociety/popit-api,ciudadanointeligente/popit-api
javascript
## Code Before: "use strict"; var _ = require('underscore'); /** * Hidden fields middleware. * * This piece of middleware handles field visibility on the models. It looks for * documents that match the current collection and if it finds any field specs then * it exposes them on `req.fields`. * * The fields spe...
2d22998d0ec943211255ca49143d51151007ac47
examples/i18n/ru/features/division.feature
examples/i18n/ru/features/division.feature
Фича: Деление чисел Поскольку деление сложный процесс и люди часто допускают ошибки Нужно дать им возможность делить на калькуляторе Структура сценария: Целочисленное деление Допустим я ввожу число <делимое> И затем ввожу число <делитель> Если я нажимаю "/" То результатом должно быть число <частн...
Функция: Деление чисел Поскольку деление сложный процесс и люди часто допускают ошибки Нужно дать им возможность делить на калькуляторе Структура сценария: Целочисленное деление Допустим я ввожу число <делимое> И затем ввожу число <делитель> Если я нажимаю "/" То результатом должно быть число <ча...
Update to latest русский translation
Update to latest русский translation
Cucumber
mit
richarda/cucumber,dg-ratiodata/cucumber-ruby,CW5000/CWFDerpy,shivashankar2020/mands,phoebeclarke/cucumber-ruby,nfredrik/cucumber-ruby,cucumber/cucumber-ruby,twalpole/cucumber,dg-ratiodata/cucumber-ruby,tom025/cucumber,jarib/cucumber,marxarelli/cucumber,shivashankar2020/mands,enkessler/cucumber-ruby,shivashankar2020/man...
cucumber
## Code Before: Фича: Деление чисел Поскольку деление сложный процесс и люди часто допускают ошибки Нужно дать им возможность делить на калькуляторе Структура сценария: Целочисленное деление Допустим я ввожу число <делимое> И затем ввожу число <делитель> Если я нажимаю "/" То результатом должно б...
b6bc76cd68282c26fab299ce888a1794bded54d6
routes/web.php
routes/web.php
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | This file is where you may define all of the routes that are handled | by your application. Just tell Laravel the URIs it should respond | to...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | This file is where you may define all of the routes that are handled | by your application. Just tell Laravel the URIs it should respond | to...
Create route for authorize student to leave
Create route for authorize student to leave
PHP
mit
TriamUdom/CheckOut,TriamUdom/CheckOut,TriamUdom/CheckOut
php
## Code Before: <?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | This file is where you may define all of the routes that are handled | by your application. Just tell Laravel the URIs it sho...
4bbd679da21ad13dc47e754a44d47b2e2be3d520
README.rdoc
README.rdoc
= InstantLogin This project rocks and uses MIT-LICENSE.
= InstantLogin This project rocks and uses MIT-LICENSE. Travis status: ![Travis Status](https://travis-ci.org/railslove/instant_login.svg)
Add travis status image to readme
Add travis status image to readme
RDoc
mit
railslove/instant_login,railslove/instant_login,railslove/instant_login
rdoc
## Code Before: = InstantLogin This project rocks and uses MIT-LICENSE. ## Instruction: Add travis status image to readme ## Code After: = InstantLogin This project rocks and uses MIT-LICENSE. Travis status: ![Travis Status](https://travis-ci.org/railslove/instant_login.svg)
b30adc8f738f798b795d0e67f24e6c6189575fe5
README.md
README.md
chacha_testvectors ================== Generator and Internet Draft (I-D) documenting test vectors for the stream cipher ChaCha.
chacha_testvectors ================== Generator and Internet Draft (I-D) documenting test vectors for the stream cipher ChaCha [1]. Status ------ (2013-10-05) The draft has been submitted, see: http://datatracker.ietf.org/doc/draft-strombergson-chacha-test-vectors/ The generator could still be a bit more polished, b...
Update of status. Add reference for ChaCha.
Update of status. Add reference for ChaCha.
Markdown
bsd-2-clause
secworks/chacha_testvectors
markdown
## Code Before: chacha_testvectors ================== Generator and Internet Draft (I-D) documenting test vectors for the stream cipher ChaCha. ## Instruction: Update of status. Add reference for ChaCha. ## Code After: chacha_testvectors ================== Generator and Internet Draft (I-D) documenting test vectors...
2a6931f547a0c51355b723e5c39fcd605fc3b982
src/mac/GMain.mm
src/mac/GMain.mm
bool gEditor; static void init(int argc, char *argv[]) { int opt; const char *altpath = NULL; while ((opt = getopt(argc, argv, "ei:")) != -1) { switch (opt) { case 'e': gEditor = true; break; case 'i': altpath = optarg; brea...
bool gEditor; static void init(int argc, char *argv[]) { int opt; const char *altpath = NULL; while ((opt = getopt(argc, argv, "ei:")) != -1) { switch (opt) { case 'e': gEditor = true; break; case 'i': altpath = optarg; brea...
Disable strict command line parsing on Mac
Disable strict command line parsing on Mac
Objective-C++
bsd-2-clause
depp/sglib,depp/sglib
objective-c++
## Code Before: bool gEditor; static void init(int argc, char *argv[]) { int opt; const char *altpath = NULL; while ((opt = getopt(argc, argv, "ei:")) != -1) { switch (opt) { case 'e': gEditor = true; break; case 'i': altpath = optarg; ...
64c15b3146fa0f99f16a2c1ba0e70a2b3ca7a166
README.rst
README.rst
TideHunter ========== HTTP streaming toolbox with flow control, written in Python. .. image:: https://travis-ci.org/amoa/tidehunter.png?branch=master :target: https://travis-ci.org/amoa/tidehunter Highlights ---------- - Stream data queue, state machine, and record counter based on Redis and redis-py. - Bas...
TideHunter ========== HTTP streaming toolbox with flow control, written in Python. .. image:: https://travis-ci.org/amoa/tidehunter.png?branch=master :target: https://travis-ci.org/amoa/tidehunter .. image:: https://pypip.in/d/tidehunter/badge.png? :target: https://pypi.python.org/pypi/tidehu...
Add yet another fancy badge
Add yet another fancy badge
reStructuredText
mit
woozyking/tidehunter,woozyking/tidehunter
restructuredtext
## Code Before: TideHunter ========== HTTP streaming toolbox with flow control, written in Python. .. image:: https://travis-ci.org/amoa/tidehunter.png?branch=master :target: https://travis-ci.org/amoa/tidehunter Highlights ---------- - Stream data queue, state machine, and record counter based on Redis and...
96ffcdabe2e6e3daac89643c4db48584f0d21f31
contact.md
contact.md
--- layout: page title: Contact Me --- ### Info * Email: joshua.shlemmer@digipen.edu * Phone: (360)471-5399 ### Resume My resume can be found [here.](/files/resume.pdf)
--- layout: page title: Contact Me --- ### Info * Email: joshuashlem@gmail.com ### Resume My resume can be found [here.](/files/resume.pdf)
Remove phonenumber from website, scammers found it last time
Remove phonenumber from website, scammers found it last time
Markdown
mit
Yellowrobe/Yellowrobe.github.io,Yellowrobe/Yellowrobe.github.io,Yellowrobe/Yellowrobe.github.io
markdown
## Code Before: --- layout: page title: Contact Me --- ### Info * Email: joshua.shlemmer@digipen.edu * Phone: (360)471-5399 ### Resume My resume can be found [here.](/files/resume.pdf) ## Instruction: Remove phonenumber from website, scammers found it last time ## Code After: --- layout: page title: Contact Me ...
102b6d5009f17078c40f19f5073f2ac424afa2e5
test/unit/wdpa/pame_importer_test.rb
test/unit/wdpa/pame_importer_test.rb
require 'test_helper' class TestPameImporter < ActiveSupport::TestCase test "#import pame evaluations" do PAME_EVALUATIONS = "#{Rails.root}/lib/data/seeds/test_pame_data.csv".freeze wdpa_ids = [1,2,3] wdpa_ids.each do |wdpa_id| FactoryGirl.create(:protected_area, wdpa_id: wdpa_id) end Wd...
require 'test_helper' class TestPameImporter < ActiveSupport::TestCase test "#import pame evaluations" do PAME_EVALUATIONS = "#{Rails.root}/lib/data/seeds/test_pame_data.csv".freeze wdpa_ids = [1,2,3] wdpa_ids.each do |wdpa_id| FactoryGirl.create(:protected_area, wdpa_id: wdpa_id) end Wd...
Remove unnecessary part of the test
Remove unnecessary part of the test (cherry picked from commit e4538e6f0f97dac3ecd4185e9f4ec0163ea4e3a1)
Ruby
bsd-3-clause
unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet
ruby
## Code Before: require 'test_helper' class TestPameImporter < ActiveSupport::TestCase test "#import pame evaluations" do PAME_EVALUATIONS = "#{Rails.root}/lib/data/seeds/test_pame_data.csv".freeze wdpa_ids = [1,2,3] wdpa_ids.each do |wdpa_id| FactoryGirl.create(:protected_area, wdpa_id: wdpa_id)...
2addf224fac721e16fb9bced8b861d85f44e9388
src/test/java/info/u_team/u_team_test/enchantment/AutoSmeltEnchantment.java
src/test/java/info/u_team/u_team_test/enchantment/AutoSmeltEnchantment.java
package info.u_team.u_team_test.enchantment; import info.u_team.u_team_core.enchantment.UEnchantment; import net.minecraft.enchantment.EnchantmentType; import net.minecraft.inventory.EquipmentSlotType; public class AutoSmeltEnchantment extends UEnchantment { public AutoSmeltEnchantment(String name) { super(name,...
package info.u_team.u_team_test.enchantment; import net.minecraft.enchantment.*; import net.minecraft.inventory.EquipmentSlotType; public class AutoSmeltEnchantment extends Enchantment { public AutoSmeltEnchantment() { super(Rarity.COMMON, EnchantmentType.DIGGER, new EquipmentSlotType[] { EquipmentSlotType.MAINH...
Remove UEnchantment as its not unnessessary for the autosmelt enchantment using the deferred register
Remove UEnchantment as its not unnessessary for the autosmelt enchantment using the deferred register
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
java
## Code Before: package info.u_team.u_team_test.enchantment; import info.u_team.u_team_core.enchantment.UEnchantment; import net.minecraft.enchantment.EnchantmentType; import net.minecraft.inventory.EquipmentSlotType; public class AutoSmeltEnchantment extends UEnchantment { public AutoSmeltEnchantment(String name)...
e62cea527aaa6c8b3b6103e6f467334f9b9b9fa3
setup.cfg
setup.cfg
[wheel] universal = 1 [pytest] norecursedirs = gocd_cli build dist .* [flake8] max-line-length = 100
[wheel] python-tag = py26, py27 [pytest] norecursedirs = gocd_cli build dist .* [flake8] max-line-length = 100
Configure wheel to be for Python 2
Configure wheel to be for Python 2
INI
mit
gaqzi/gocd-cli,gaqzi/py-gocd-cli
ini
## Code Before: [wheel] universal = 1 [pytest] norecursedirs = gocd_cli build dist .* [flake8] max-line-length = 100 ## Instruction: Configure wheel to be for Python 2 ## Code After: [wheel] python-tag = py26, py27 [pytest] norecursedirs = gocd_cli build dist .* [flake8] max-line-length = 100
e9de9ba493198f99035e93c3f1e473ffb45c31a0
dockerhelper.rb
dockerhelper.rb
class DockerHelper attr :c def initialize(common) @c = common end def requires_docker() status = c.run %W{which docker} unless status.success? c.error "docker not installed." STDERR.puts "Installation instructions:" STDERR.puts "\n https://www.docker.com/community-edition\n\n" ...
class DockerHelper attr :c def initialize(common) @c = common end def requires_docker() status = c.run %W{which docker} unless status.success? c.error "docker not installed." STDERR.puts "Installation instructions:" STDERR.puts "\n https://www.docker.com/community-edition\n\n" ...
Remove need for docker gem
Remove need for docker gem
Ruby
mit
dmohs/project-management,dmohs/project-management
ruby
## Code Before: class DockerHelper attr :c def initialize(common) @c = common end def requires_docker() status = c.run %W{which docker} unless status.success? c.error "docker not installed." STDERR.puts "Installation instructions:" STDERR.puts "\n https://www.docker.com/communit...
3c971e455e9876e661622ec411a248ec65e0c15b
css/styles.css
css/styles.css
.jumbotronBackground { background-color: #FF6666; } #banner h1 { text-align: center; } body { background-color: #FF9A66; } .col-md-2 { background-color: #993367; min-width: 240px; min-height: 500px; } .col-md-9 { padding-left: 80px; }
.jumbotronBackground { background-color: #FF6666; } #banner h1 { text-align: center; color: #330000; } body { background-color: #FF9A66; } .col-md-2 { background-color: #993367; min-width: 240px; min-height: 500px; } #sidebar h4 { color: #FF99CD; } #sidebar h3 { color: #660034; } #sidebar p { ...
Add text colors to sidebar, banner, and main page
Add text colors to sidebar, banner, and main page
CSS
mit
kcmdouglas/pingpong,kcmdouglas/pingpong
css
## Code Before: .jumbotronBackground { background-color: #FF6666; } #banner h1 { text-align: center; } body { background-color: #FF9A66; } .col-md-2 { background-color: #993367; min-width: 240px; min-height: 500px; } .col-md-9 { padding-left: 80px; } ## Instruction: Add text colors to sidebar, banner...
050a801e2395c3aeeace449af86289357ff158b2
src/main/web/CMakeLists.txt
src/main/web/CMakeLists.txt
set(SCRIPT "${PROJECT_SOURCE_DIR}/scripts/gen_embedded.py") set(EMBEDDED_FILES ${CMAKE_CURRENT_SOURCE_DIR}/_404.png ${CMAKE_CURRENT_SOURCE_DIR}/_error.css ${CMAKE_CURRENT_SOURCE_DIR}/_error.html ${CMAKE_CURRENT_SOURCE_DIR}/favicon.ico ${CMAKE_CURRENT_SOURCE_DIR}/_jquery.min.js ${CMAKE_CURRENT...
set(SCRIPT "${PROJECT_SOURCE_DIR}/scripts/gen_embedded.py") set(EMBEDDED_FILES ${CMAKE_CURRENT_SOURCE_DIR}/_404.png ${CMAKE_CURRENT_SOURCE_DIR}/_error.css ${CMAKE_CURRENT_SOURCE_DIR}/_error.html ${CMAKE_CURRENT_SOURCE_DIR}/favicon.ico ${CMAKE_CURRENT_SOURCE_DIR}/_jquery.min.js ${CMAKE_CURRENT_...
Call of the gen_embedded.py script updated to the new arguments.
Call of the gen_embedded.py script updated to the new arguments.
Text
bsd-2-clause
mattgodbolt/seasocks,offa/seasocks,mattgodbolt/seasocks,offa/seasocks,offa/seasocks,mattgodbolt/seasocks,mattgodbolt/seasocks,offa/seasocks,mattgodbolt/seasocks,offa/seasocks,mattgodbolt/seasocks,offa/seasocks
text
## Code Before: set(SCRIPT "${PROJECT_SOURCE_DIR}/scripts/gen_embedded.py") set(EMBEDDED_FILES ${CMAKE_CURRENT_SOURCE_DIR}/_404.png ${CMAKE_CURRENT_SOURCE_DIR}/_error.css ${CMAKE_CURRENT_SOURCE_DIR}/_error.html ${CMAKE_CURRENT_SOURCE_DIR}/favicon.ico ${CMAKE_CURRENT_SOURCE_DIR}/_jquery.min.js ...
4458fb768768f7ca2037a22616a0790c94ce1141
.travis.yml
.travis.yml
sudo: false language: node_js node_js: - "node" - 10 - 9 - 8 - 7 - 6 - "lts/*" before_install: - npm install -g grunt-cli install: - npm install script: - make audit - make tests - make validate
sudo: false language: node_js node_js: - "node" - 12 - 11 - 10 - 9 - 8 - 7 - 6 - "lts/*" before_install: - npm install -g grunt-cli install: - npm install script: - make audit - make tests - make validate
Test on node 11 and 12
Test on node 11 and 12
YAML
mit
schorfES/node-lintspaces,schorfES/node-lintspaces
yaml
## Code Before: sudo: false language: node_js node_js: - "node" - 10 - 9 - 8 - 7 - 6 - "lts/*" before_install: - npm install -g grunt-cli install: - npm install script: - make audit - make tests - make validate ## Instruction: Test on node 11 and 12 ## Code After: sudo: false language: node_js node_js: - "node" - 12 ...
bd0d7800172e2cbcb953531334b6acffa4b6ad17
.travis.yml
.travis.yml
language: python python: - '2.6' - '2.7' - '3.3' - pypy install: - pip install pep8 coveralls script: - python setup.py test - python setup.py build install - coverage erase - nosetests --with-coverage --cover-package=flask_cors after_success: - pep8 flask_cors.py - coveralls deploy: provider: pypi user: wcdolphin ...
language: python python: - '2.6' - '2.7' - '3.3' - pypy install: - pip install pep8 coveralls script: - python setup.py test - python setup.py build install - coverage erase - nosetests --with-coverage --cover-package=flask_cors after_success: - pep8 flask_cors.py - coveralls deploy: provider: pypi user: wcdolphin ...
Include wheel distribution when pushing to Pypi
Include wheel distribution when pushing to Pypi
YAML
mit
ashleysommer/sanic-cors,corydolphin/flask-cors
yaml
## Code Before: language: python python: - '2.6' - '2.7' - '3.3' - pypy install: - pip install pep8 coveralls script: - python setup.py test - python setup.py build install - coverage erase - nosetests --with-coverage --cover-package=flask_cors after_success: - pep8 flask_cors.py - coveralls deploy: provider: pypi ...
a8cd4601ca7b352588bd72b5243475f56a8fc9fd
5-let-me-sleep.sh
5-let-me-sleep.sh
(crontab -l 2>/dev/null; echo '00 23 * * * pkill -f "slave2"') | crontab - (crontab -l 2>/dev/null; echo '00 23 * * * pkill -f "slave3"') | crontab - (crontab -l 2>/dev/null; echo '00 08 * * * ~/afl-control/3-start-fuzz.sh') | crontab -
(crontab -l 2>/dev/null; echo '00 23 * * * pkill -f "slave1"') | crontab - (crontab -l 2>/dev/null; echo '00 23 * * * pkill -f "slave2"') | crontab - (crontab -l 2>/dev/null; echo '00 23 * * * pkill -f "slave3"') | crontab - (crontab -l 2>/dev/null; echo '00 08 * * * ~/afl-control/3-start-fuzz.sh') | crontab -
Stop even more fuzzers with the sleeping script
Stop even more fuzzers with the sleeping script
Shell
mit
putsi/afl-control,putsi/afl-control
shell
## Code Before: (crontab -l 2>/dev/null; echo '00 23 * * * pkill -f "slave2"') | crontab - (crontab -l 2>/dev/null; echo '00 23 * * * pkill -f "slave3"') | crontab - (crontab -l 2>/dev/null; echo '00 08 * * * ~/afl-control/3-start-fuzz.sh') | crontab - ## Instruction: Stop even more fuzzers with the sleeping script ...
498ab0c125180ba89987e797d0094adc02019a8f
numba/exttypes/utils.py
numba/exttypes/utils.py
"Simple utilities related to extension types" #------------------------------------------------------------------------ # Read state from extension types #------------------------------------------------------------------------ def get_attributes_type(py_class): "Return the attribute struct type of the numba exte...
"Simple utilities related to extension types" #------------------------------------------------------------------------ # Read state from extension types #------------------------------------------------------------------------ def get_attributes_type(py_class): "Return the attribute struct type of the numba exte...
Add utility to iterate over numba base classes
Add utility to iterate over numba base classes
Python
bsd-2-clause
jriehl/numba,cpcloud/numba,stuartarchibald/numba,numba/numba,GaZ3ll3/numba,pombredanne/numba,ssarangi/numba,ssarangi/numba,gdementen/numba,gmarkall/numba,pitrou/numba,shiquanwang/numba,numba/numba,seibert/numba,pitrou/numba,sklam/numba,shiquanwang/numba,IntelLabs/numba,seibert/numba,gdementen/numba,stuartarchibald/numb...
python
## Code Before: "Simple utilities related to extension types" #------------------------------------------------------------------------ # Read state from extension types #------------------------------------------------------------------------ def get_attributes_type(py_class): "Return the attribute struct type o...
87014feb0117fc5a48910253d75f1e74b7b8c688
examples/export-map.js
examples/export-map.js
goog.require('ol.Map'); goog.require('ol.RendererHint'); goog.require('ol.View2D'); goog.require('ol.layer.Tile'); goog.require('ol.source.OSM'); var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() }) ], renderer: ol.RendererHint.CANVAS, target: 'map', view: new ol...
goog.require('ol.Map'); goog.require('ol.RendererHint'); goog.require('ol.View2D'); goog.require('ol.layer.Tile'); goog.require('ol.source.OSM'); var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() }) ], renderer: ol.RendererHint.CANVAS, target: 'map', view: new ol...
Use 'postcompose' event to export the map as png image
Use 'postcompose' event to export the map as png image
JavaScript
apache-2.0
richstoner/ol3,xiaoqqchen/ol3,epointal/ol3,bjornharrtell/ol3,stweil/ol3,tsauerwein/ol3,pmlrsg/ol3,bogdanvaduva/ol3,hafenr/ol3,thomasmoelhave/ol3,ahocevar/ol3,kkuunnddaannkk/ol3,ahocevar/openlayers,klokantech/ol3raster,geonux/ol3,xiaoqqchen/ol3,fredj/ol3,jacmendt/ol3,gingerik/ol3,planetlabs/ol3,jacmendt/ol3,kjelderg/ol3...
javascript
## Code Before: goog.require('ol.Map'); goog.require('ol.RendererHint'); goog.require('ol.View2D'); goog.require('ol.layer.Tile'); goog.require('ol.source.OSM'); var map = new ol.Map({ layers: [ new ol.layer.Tile({ source: new ol.source.OSM() }) ], renderer: ol.RendererHint.CANVAS, target: 'map'...
1f7e19932b93cfdbc61017e5d4658660ac84c7e3
model/realtime/FeatureList.js
model/realtime/FeatureList.js
'use strict'; const Utils = require("../../util/utils"); module.exports = class FeatureList { constructor() { this.features = [] } add(properties, geometry) { let feature = { type: "Feature", geometry: Utils.sortObject(geometry), properties: Utils.sort...
'use strict'; const Utils = require("../../util/utils"); module.exports = class FeatureList { constructor() { this.features = [] } add(properties, geometry) { let feature = { geometry: Utils.sortObject(geometry), properties: Utils.sortObject(properties), ...
Put data into alphabetical order
Put data into alphabetical order
JavaScript
apache-2.0
idm-suedtirol/realtimebusservice
javascript
## Code Before: 'use strict'; const Utils = require("../../util/utils"); module.exports = class FeatureList { constructor() { this.features = [] } add(properties, geometry) { let feature = { type: "Feature", geometry: Utils.sortObject(geometry), proper...
323a2aaa5451b57174acd0fc48f3571bc3824807
ice40/picorv32_arachne.sh
ice40/picorv32_arachne.sh
set -ex rm -f picorv32.v wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v yosys -p 'synth_ice40 -nocarry -blif picorv32.blif -top top' picorv32.v picorv32_top.v arachne-pnr -d 8k --post-place-blif picorv32_place.blif picorv32.blif yosys picorv32_place.blif -o picorv32_place.json ./transfor...
set -ex rm -f picorv32.v wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v yosys -p 'synth_ice40 -nocarry -blif picorv32.blif -top top' picorv32.v picorv32_top.v arachne-pnr -d 8k --post-place-blif picorv32_place.blif picorv32.blif yosys picorv32_place.blif -p "read_verilog -lib +/ice40/cel...
Read cells in arachne placement script
ice40: Read cells in arachne placement script Signed-off-by: David Shah <4be9b043912c80de45ffb490ebd07e45bc0fcd34@gmail.com>
Shell
isc
YosysHQ/nextpnr,SymbiFlow/nextpnr,SymbiFlow/nextpnr,YosysHQ/nextpnr,SymbiFlow/nextpnr,YosysHQ/nextpnr,SymbiFlow/nextpnr,YosysHQ/nextpnr
shell
## Code Before: set -ex rm -f picorv32.v wget https://raw.githubusercontent.com/cliffordwolf/picorv32/master/picorv32.v yosys -p 'synth_ice40 -nocarry -blif picorv32.blif -top top' picorv32.v picorv32_top.v arachne-pnr -d 8k --post-place-blif picorv32_place.blif picorv32.blif yosys picorv32_place.blif -o picorv32_place...
496e639962fb8add9c62896cfd3c30096a1bdf08
src/libOL/Chunks.h
src/libOL/Chunks.h
// Copyright (c) 2014 Andrew Toulouse. // Distributed under the MIT License. #ifndef __libol__Chunks__ #define __libol__Chunks__ #include <vector> #include <cstdint> namespace libol { namespace Chunks { static std::vector<uint8_t> decrypt(std::vector<uint8_t> bytes, std::vector<uint8_t> key); } } #e...
// Copyright (c) 2014 Andrew Toulouse. // Distributed under the MIT License. #ifndef __libol__Chunks__ #define __libol__Chunks__ #include <vector> #include <cstdint> namespace libol { namespace Chunks { std::vector<uint8_t> decryptAndDecompress(std::vector<uint8_t> bytes, std::vector<uint8_t> key); }...
Fix dumb header issue (didn't update implementation)
Fix dumb header issue (didn't update implementation)
C
mit
loldevs/libOL,loldevs/libOL
c
## Code Before: // Copyright (c) 2014 Andrew Toulouse. // Distributed under the MIT License. #ifndef __libol__Chunks__ #define __libol__Chunks__ #include <vector> #include <cstdint> namespace libol { namespace Chunks { static std::vector<uint8_t> decrypt(std::vector<uint8_t> bytes, std::vector<uint8_t> k...
b27947128285fc7abafa205d17961c3e65e3c8b4
ci/tasks/run-int.sh
ci/tasks/run-int.sh
set -e my_dir="$( cd $(dirname $0) && pwd )" release_dir="$( cd ${my_dir} && cd ../.. && pwd )" workspace_dir="$( cd ${release_dir} && cd ../../../.. && pwd )" pushd ${release_dir} > /dev/null source ci/tasks/utils.sh popd > /dev/null check_param google_project check_param google_json_key_data check_param rake_ta...
set -e my_dir="$( cd $(dirname $0) && pwd )" release_dir="$( cd ${my_dir} && cd ../.. && pwd )" workspace_dir="$( cd ${release_dir} && cd ../../../.. && pwd )" pushd ${release_dir} > /dev/null source ci/tasks/utils.sh popd > /dev/null check_param google_project check_param google_json_key_data check_param rake_ta...
Modify CI pipeline task to print bundler and ruby environment
Modify CI pipeline task to print bundler and ruby environment
Shell
mit
Temikus/fog-google,Temikus/fog-google,fog/fog-google
shell
## Code Before: set -e my_dir="$( cd $(dirname $0) && pwd )" release_dir="$( cd ${my_dir} && cd ../.. && pwd )" workspace_dir="$( cd ${release_dir} && cd ../../../.. && pwd )" pushd ${release_dir} > /dev/null source ci/tasks/utils.sh popd > /dev/null check_param google_project check_param google_json_key_data che...
babe46123a753c51ea8fa0a0a0be1eaf44d0452b
package.json
package.json
{ "name": "synctos", "version": "2.0.1", "description": "The Syncmaker. A tool to build comprehensive sync functions for Couchbase Sync Gateway.", "keywords": [ "couchbase", "couchbase-sync-gateway", "couchbase-mobile", "sync-gateway", "synchronization", "synctos", "validation" ], ...
{ "name": "synctos", "version": "2.0.1", "description": "The Syncmaker. A tool to build comprehensive sync functions for Couchbase Sync Gateway.", "keywords": [ "couchbase", "couchbase-sync-gateway", "couchbase-mobile", "sync-gateway", "synchronization", "synctos", "validation" ], ...
Add an npm clean script
Add an npm clean script Execute `npm run clean` to delete all build artifacts.
JSON
mit
Kashoo/synctos,Kashoo/synctos
json
## Code Before: { "name": "synctos", "version": "2.0.1", "description": "The Syncmaker. A tool to build comprehensive sync functions for Couchbase Sync Gateway.", "keywords": [ "couchbase", "couchbase-sync-gateway", "couchbase-mobile", "sync-gateway", "synchronization", "synctos", "v...
5755640a0e67ccedbff313e6fbde8a16b0fcd326
readme.md
readme.md
This is where my dotfiles live. ## Installation ```sh git clone https://github.com/johnotander/dotfiles && cd $_ source bootstrap.sh ``` ## New machine setup This happens rarely enough to where I don't think it needs to be automated. But, these are the steps I take. - Switch to zsh: `chsh -s $(which zsh)` - Set d...
This is where my dotfiles live. ## Installation ```sh git clone https://github.com/johnotander/dotfiles && cd $_ source bootstrap.sh ``` ## New machine setup This happens rarely enough to where I don't think it needs to be automated. But, these are the steps I take. - Switch to zsh: `chsh -s $(which zsh)` - Set d...
Add ssh key and gh auth instructions
Add ssh key and gh auth instructions
Markdown
mit
johnotander/dotfiles,johnotander/dotfiles
markdown
## Code Before: This is where my dotfiles live. ## Installation ```sh git clone https://github.com/johnotander/dotfiles && cd $_ source bootstrap.sh ``` ## New machine setup This happens rarely enough to where I don't think it needs to be automated. But, these are the steps I take. - Switch to zsh: `chsh -s $(whi...
63c640f2d16b033cc8dff426768cd1c6cbaa5626
Lib/distutils/__init__.py
Lib/distutils/__init__.py
# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" import sys __version__ = "%d.%d.%d" % sys.version_info[:3] del sys
# This module should be kept compatible with Python 2.1. __revision__ = "$Id$" # Distutils version # # Please coordinate with Marc-Andre Lemburg <mal@egenix.com> when adding # new features to distutils that would warrant bumping the version number. # # In general, major and minor version should loosely follow the Py...
Revert to having static version numbers again.
Revert to having static version numbers again.
Python
mit
sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator
python
## Code Before: # This module should be kept compatible with Python 2.1. __revision__ = "$Id$" import sys __version__ = "%d.%d.%d" % sys.version_info[:3] del sys ## Instruction: Revert to having static version numbers again. ## Code After: # This module should be kept compatible with Python 2.1. __revision__ = "...