Skip to content

Instantly share code, notes, and snippets.

@a7madev
a7madev / circle.yml
Created Sep 6, 2016 — forked from donnfelker/circle.yml
Updated circle.yml file
View circle.yml
#
# Build configuration for Circle CI
#
# See this thread for speeding up and caching directories: https://discuss.circleci.com/t/installing-android-build-tools-23-0-2/924
#
general:
artifacts:
- /home/ubuntu/AndroidCI/app/build/outputs/apk/
@a7madev
a7madev / PHP-xdebug.md
Last active Jul 15, 2016
PHP and xdebug
View PHP-xdebug.md

PHP xdebug on OS X

PHP xdebug on Windows

XAMPP

  1. Open php.ini from XAMPP Control Panel
  2. Uncomment xdebug section
  3. Restart XAMPP Apache
  4. . Go to PHPStorm, open settings and select PHP Interpreter
  5. . Add new Interpreter, select "C:\xampp\php\php.exe" and save.
View Laravel-All.md

Laravel All

Make Migration

php artisan make:migration create_teacher_subjects_table
View Android-Libs.md

Parse

compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.parse:parse-android:1.+'

OkHTTP

compile 'com.squareup.okhttp3:okhttp:3.+'
View Blade-Snippets.blade.php
<?php
// Blade if statement
@if()
@elseif()
@else
@endif
// Text Placeholder
View SSH - Login without password.command
brew install ssh-copy-id
ssh-copy-id root@161.202.176.248
@a7madev
a7madev / Edit_Windows_Hosts_File.cmd
Last active Jan 16, 2016
Windows - Edit Hosts File
View Edit_Windows_Hosts_File.cmd
copy %systemroot%\system32\drivers\etc\hosts "C:\Users\a7madev\Desktop"
echo >> C:\Users\a7madev\Desktop\hosts
copy "C:\Users\a7madev\Desktop\hosts" %systemroot%\system32\drivers\etc\
@a7madev
a7madev / Android-DebugAndProBuilds.gradle
Created Jan 2, 2016
How to have debug, beta and prod builds installed at the same time
View Android-DebugAndProBuilds.gradle
defaultConfig {
resValue "string", "app_name", "MyApp"
}
buildTypes {
debug {
applicationIdSuffix = ".debug"
testCoverageEnabled = "true"
resValue "string", "app_name", "MyApp DEBUG"
}
You can’t perform that action at this time.