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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
void *add_function(); | |
int addMul = 0; | |
pthread_mutex_t lock; | |
main() { | |
pthread_t thread; |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
void *add_function(); | |
int addMul = 0; | |
main() { | |
pthread_t thread; | |
int ret[70]; |
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 UIKit | |
// Options #2 | |
// a) Program Crashes | |
// b) [1,2,3,4] | |
// c) [1,2,5,4] (X) | |
func question2() { | |
var originalArray = [1,2,3,4] | |
var secondArray = originalArray | |
secondArray[2] = 5 |
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 UIKit | |
// Options #2 | |
// a) Program Crashes | |
// b) [1,2,3,4] | |
// c) [1,2,5,4] (X) | |
func question2() { | |
var originalArray = [1,2,3,4] | |
var secondArray = originalArray | |
secondArray[2] = 5 |
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
# icon names | |
icon_names=("icon-29@1x.png" "icon-29@2x.png" "icon-29@3x.png" "icon-40@1x.png" "icon-40@2x.png" "icon-40@3x.png" "icon-60@1x.png" "icon-60@2x.png" "icon-60@3x.png") | |
# icon sizes | |
icon_size=(29 58 87 40 80 120 60 120 180) | |
directory_path="$PWD" | |
source_file="$directory_path/icon.png" | |
incomplete_command="cp $source_file $directory_path/" | |
#echo $directory_path | |
#echo $source_file |
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
// | |
// UIFont+SFUIDisplay.swift | |
// | |
// Created by Felipe Gringo on 11/26/15. | |
// Copyright © 2015 Gringo, Inc. All rights reserved. | |
// | |
import Foundation | |
import UIKit |