This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "repositories": [ | |
| { | |
| "type": "composer", | |
| "url": "http://localhost:4680/" | |
| } | |
| ], | |
| "config": { | |
| "secure-http": false | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test.before( 'Start Browser', function() { | |
| this.timeout( startBrowserTimeoutMS ); | |
| driver = driverManager.startBrowser(); | |
| } ); | |
| test.describe( 'Authentication: (' + screenSize + ')', function() { | |
| this.timeout( mochaTimeOut ); | |
| this.bailSuite( true ); | |
| test.describe( 'Logging In and Out:', function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $docker pa -a | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| e614797e3af7 jenkins2 "/bin/tini -- /usr/lo" 22 minutes ago Up 22 minutes 0.0.0.0:8080->8080/tcp, 0.0.0.0:50000->50000/tcp jenkins-master | |
| 9fae0c4f4d66 jenkins-data "echo 'Data container" About an hour ago Exited (0) About an hour ago jenkins-data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $factory->define(App\User::class, function (Faker\Generator $faker) { | |
| return [ | |
| 'name' => $faker->name, | |
| 'email' => $faker->safeEmail, | |
| 'password' => bcrypt(str_random(10)), | |
| 'remember_token' => str_random(10), | |
| ]; | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apply plugin: 'com.android.application' | |
| android { | |
| .... | |
| } | |
| buildscript { | |
| repositories { | |
| jcenter() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void setServerPort(String value) { | |
| try { | |
| serverPort = Integer.parseInt(value); | |
| } catch (NumberFormatException e) { } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LargeTest | |
| @RunWith(AndroidJUnit4.class) | |
| public class NotesActivityTest { | |
| @Rule | |
| public ActivityTestRule<NotesActivity> mActivityTestRule = new ActivityTestRule<>(NotesActivity.class); | |
| @Test | |
| public void notesActivityTest() { | |
| ViewInteraction floatingActionButton = onView( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| The CEO of the company (and my former boss) sold the company | |
| leaving me free to comment the code as I should have. The | |
| former CEO of the company will be referred to as Dip Shit, or DS for short. | |
| DS thinks he is a software developing genius. Unfortunately for | |
| me (the maintenance programmer) I spent too much time cleaning | |
| up Dip's Shit. | |
| DS is a daredevil developer. Like Evel Knievel his code uses | |
| the GOTO statement frequently jumping daringly from a code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import PackageDescription | |
| let package = Package( | |
| name: "HelloWorld", | |
| dependencies: [ | |
| .Package(url: "https://github.com/qutheory/vapor.git", majorVersion: 0, minor: 10) | |
| ] | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MainViewController: UIViewController, NetworkDelegator { | |
| let myNetwork = MyNetwork() | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| myNetwork.delegate = self | |
| } | |