For example, if you want to change com.example.app
to my.awesome.game
, then:
-
Uncheck / De-select the
Compact Empty Middle Packages
option -
Your package directory will now be broken up in individual directories
Instructions (five steps) to create a bootable usb stick (with iso file):
hdiutil convert -format UDRW -o /path/to/target.img /path/to/ubuntu.iso
diskutil list
// In Page class | |
public sealed partial class CustomPage : Page | |
{ | |
public CustomPage() | |
{ | |
this.InitializeComponent(); | |
//... | |
// This will give input focus capability to page |
-- Specific order clause | |
-- In PostgreSQL can be used CASE ... WHEN in order clause: | |
ORDER BY | |
CASE field_to_order | |
WHEN 'value1' THEN 1 | |
WHEN 'value2' THEN 2 | |
WHEN 'value3' THEN 3 | |
ELSE 4 | |
END, |
import java.util.List; | |
import java.util.UUID; | |
import android.app.Activity; | |
import android.app.ActivityManager; | |
import android.content.ComponentName; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.content.pm.PackageManager; | |
import android.graphics.Bitmap; |
// If it returns false, validation stops here (and afterValidate event will not be called) | |
$('form').on('beforeValidate', function(event, messages, deferreds) { | |
var extraConditionsSuccess = false; | |
/* | |
* Verify extraConditionsSuccess | |
*/ | |
// if false, afterValidate event will not be called |
// | |
// Logger.h | |
// SlotCore | |
// | |
// Created by Fabrizio on 08/04/16. | |
// Copyright © 2016 Fabrizio Caldarelli. All rights reserved. | |
// | |
#ifndef Logger_h | |
#define Logger_h |
<?php | |
// In this case, 4bytes, 8 charactes. | |
$bytes = 4; | |
$cstrong = true; | |
$uid = bin2hex(openssl_random_pseudo_bytes($bytes, $cstrong)); | |
?> |
+ (UIColor *)colorWithHexString:(NSString *)hexWithAlphaString { | |
UIColor *c = nil; | |
unsigned long long rgbValue = 0; | |
NSScanner *scanner = [NSScanner scannerWithString:hexWithAlphaString]; | |
[scanner setScanLocation:0]; // bypass '#' character | |
[scanner scanHexLongLong:&rgbValue]; | |
if(hexWithAlphaString.length == 6) | |
{ | |
c = [UIColor colorWithRed:((rgbValue & 0xFF0000) >> 16)/255.0 green:((rgbValue & 0xFF00) >> 8)/255.0 blue:(rgbValue & 0xFF)/255.0 alpha:1.0]; |
1- From Xcode menu open: Product > Scheme > Edit Scheme | |
2- On your Environment Variables set OS_ACTIVITY_MODE = disable |