This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eux | |
PROJ_NAME=myproj2 | |
PKG_URL=https://github.com/johnsundell/plot.git | |
PKG_FROM=0.1.0 | |
LIB_NAME=Plot | |
SWIFT_VERSION=5.1.3 | |
PLATFORM=macos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Test run with parallel | |
import os | |
import platform | |
import json | |
import argparse | |
import re | |
import subprocess | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Oclint < Formula | |
homepage 'http://oclint.org' | |
url 'http://archives.oclint.org/nightly/oclint-0.9.dev.603daa8-x86_64-darwin-14.4.0.tar.gz' | |
version '0.9.dev.603daa8' | |
sha1 '9ee49d2fd167eec09e1a33a56081c1bb22721f0d' | |
def install | |
lib.install Dir['lib/clang'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Oclint < Formula | |
homepage 'http://oclint.org' | |
url 'http://archives.oclint.org/releases/0.8/oclint-0.8.1-x86_64-darwin-14.0.0.tar.gz' | |
version '0.8.1' | |
sha1 'c96d712c5b73e04eebb57c3a97dec2b4ecbb9ed4' | |
devel do | |
url 'http://archives.oclint.org/nightly/oclint-0.9.dev.603daa8-x86_64-darwin-14.4.0.tar.gz' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ui-autocomplete { | |
position: absolute; | |
top: 100%; | |
left: 0; | |
z-index: 1000; | |
float: left; | |
display: none; | |
min-width: 160px; | |
_width: 160px; | |
padding: 4px 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Russian. Updated 2012-07-18 | |
ru: | |
admin: | |
home: | |
name: "Главная" | |
pagination: | |
previous: "« Предыдущая" | |
next: "Следующая »" | |
truncate: "…" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Model | |
@user.should have(1).error_on(:username) # Checks whether there is an error in username | |
@user.errors[:username].should include("can't be blank") # check for the error message | |
#Rendering | |
response.should render_template(:index) | |
#Redirecting | |
response.should redirect_to(movies_path) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
uninstall() { | |
list=`gem list --no-versions` | |
for gem in $list; do | |
gem uninstall $gem -aIx | |
done | |
gem list | |
gem install bundler | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "active_admin/mixins" | |
@import "active_admin/components/links" | |
body | |
@include global-reset | |
@import "active_admin/typography" | |
@import "active_admin/header" | |
@import "active_admin/forms" | |
@import "active_admin/components/comments" | |
@import "active_admin/components/flash_messages" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# your-engine/lib/magic/rails/engine.rb | |
module Magic | |
module Rails | |
module Engine | |
## | |
# Automatically append all of the current engine's routes to the main | |
# application's route set. This needs to be done for ALL functional tests that | |
# use engine routes, since the mounted routes don't work during tests. | |
# |
NewerOlder