— Clone repository with submodules automatically:
git clone --recursive [email protected]:name/repo.git
— Initialize submodules after regular cloning:
| #Quick cp from http://sekati.com/etc/install-nodejs-on-debian-squeeze | |
| # | |
| #Needed to install TileMill from MapBox | |
| # | |
| #Installs node.js which has npm bundled | |
| # | |
| #Build Dependencies | |
| sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev |
| package com.example.testSingleton; | |
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.widget.Toast; | |
| public class ActivityA extends Activity { | |
| @Override | |
| public void onCreate(Bundle savedInstanceState) { |
| { | |
| "iPhone1,1": | |
| { | |
| "name": "iPhone", | |
| "cpu": "RISC ARM 11" | |
| }, | |
| "iPhone1,2": | |
| { | |
| "name": "iPhone 3G", |
— Clone repository with submodules automatically:
git clone --recursive [email protected]:name/repo.git
— Initialize submodules after regular cloning:
| // | |
| // CameraController.swift | |
| // | |
| import AVFoundation | |
| import Photos | |
| import UIKit | |
| class CameraController: UIViewController { | |
| enum Camera { |
| #!/bin/bash | |
| # | |
| # usage: Make executable and type ./get_sdl.sh | |
| # | |
| # Note - Use -showBuildSettings such as: | |
| # xcodebuild -configuration Release HEADER_SEARCH_PATHS="../../SDL/include/ ./Frameworks/FreeType.framework/Headers/" -target "Static Library" -arch x86_64 -sdk macosx -showBuildSettings | |
| # to list all build settings... | |
| # | |
| # Note - Had to update the HEADER_SEARCH_PATHS and MACOSX_DEPLOYMENT_TARGET for | |
| # a couple of libraries for the macOS versions. The HEADER_SEARCH_PATHS were set to look |
| # Proccess: | |
| # 1. Go into app directory | |
| # 2. Get current versionCode and print it | |
| # 3. Increment versionCode by one and print it | |
| # 4. Get current versionName and print it | |
| # 5. Ask user for new versionName and set it then print it | |
| # 6. Stage changes to build.gradle | |
| # 7. Go back one directory to project root | |
| # 8. Commit version update with message Bumped up version | |
| # 9. Tag with versionName |
| master: | |
| useSecurity: true | |
| adminUser: "admin" | |
| fsGroup: 1000 | |
| runAsUser: 1000 | |
| serviceType: ClusterIP | |
| installPlugins: |
| # This is a sample build configuration for JavaScript. | |
| # Check our guides at https://confluence.atlassian.com/x/14UWN for more examples. | |
| # Only use spaces to indent your .yml configuration. | |
| # ----- | |
| # You can specify a custom docker image from Docker Hub as your build environment. | |
| image: node:8.12.0 | |
| pipelines: | |
| branches: |
| # Unreal Engine file types. | |
| *.uasset filter=lfs diff=lfs merge=lfs -text | |
| *.umap filter=lfs diff=lfs merge=lfs -text | |
| # Raw Content file types. | |
| *.fbx filter=lfs diff=lfs merge=lfs -text | |
| *.3ds filter=lfs diff=lfs merge=lfs -text | |
| *.psd filter=lfs diff=lfs merge=lfs -text | |
| *.png filter=lfs diff=lfs merge=lfs -text | |
| *.mp3 filter=lfs diff=lfs merge=lfs -text |