Skip to content

Instantly share code, notes, and snippets.

View tryadelion's full-sized avatar

Eric Cugota tryadelion

View GitHub Profile
@W0MP3R
W0MP3R / apiURL.txt
Last active July 18, 2017 19:27
URL API ReenactAPP (draft)
GET EVENT TYPE BY LANG
../getEventTypeByLang.php?lang=en
GET EVENT BY PREFERENCES
../getEventsByPreferences.php?ages=[4,8]&countries=['ES','FR']&uname='hibob'
GET EVENT BYR PREFERENCES ORDER BY DATE
../getEventsByDate.php?ages=[4,8]&countries=['ES','FR']&uname='hibob'
GET LIST OF USERS BY EVENT
step 1 : setup the model and export as FBX.
step 2 : import in unity. the vertex and the normals will be flipped.
step 3 : attach this c# script, and run ONLY ONCE.
using UnityEngine;
using System.Collections;
using System.Linq;
public class THISISVERYGUARRO : MonoBehaviour {
// Use this for initialization
@nbasham
nbasham / UIColor.swift
Last active December 18, 2023 21:04
Swift 4: Convert CSS color names and RGB hex values to UIColor. UIColor from hex 3, 4, 6, and 8 characters in length with or without # prefix. UIColor to hex. UIColor extension that creates immutable UIColor instances from hexadecimal and CSS color name strings (e.g. ff0, #f00, ff0000, ff0000ff, Pink, aZure, CLEAR, nil). Conversely, you can obta…
//
// UIColor.swift
// previously Color+HexAndCSSColorNames.swift
//
// Created by Norman Basham on 12/8/15.
// Copyright ©2018 Black Labs. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights

##by CptEric

ingredients :

saffron, sweet pepper powder, sweet peppers ( to cut, slice and fry ) , 1 to 2 garlic heads, if you want to ( not forcibly required ) white onions to fry, 4 to 6 tomatoes ( to fry as sauce ), sugar ( to avoid the fried tomatoes to become acid), salt, if you want to ( not forcibly required ) garlic and parsley, and , i don't use it ( saffron does it anyway ) but looks prettier, yellow food coloring (else it will look orange instead of yellow, not a big deal).

rice type: