Skip to content

Instantly share code, notes, and snippets.

View nomisum's full-sized avatar
🌙
zz

nomisum nomisum

🌙
zz
View GitHub Profile
@Seb105
Seb105 / fn_modelVillage.sqf
Last active March 14, 2021 20:13
Instant model village script
No longer maintained.
Find the latest version here:
https://github.com/Seb105/Arma-Briefingtable/tree/main/example_mission/SebsBriefingTableStandaloneDemo.Altis
@steveruizok
steveruizok / EventPropExample.tsx
Created June 21, 2019 11:12
Example Framer X code component that "shares" changes to its state through an event prop.
import * as React from "react"
import { Frame, FrameProps } from "framer"
type Props = Partial<FrameProps> & {
onValueChange: (value: number) => void
}
export function EventPropExample(props: Props) {
const { onValueChange, ...rest } = props
["dedmen"] call {
missionNamespace setVariable [_this select 0,player, true];
[0, {
params ["_myName"];
private _curVarName = _myName+"Cur";
if (!isNil _curVarName) then {
[-1, compile format["if (player == %1) then {%1 sideChat 'deleting Curator';}", _myName]] call CBA_fnc_globalExecute;
deleteVehicle (missionNamespace getVariable [_curVarName, objNull]);
missionNamespace setVariable [_curVarName, nil, true];
@nomisum
nomisum / SaveiOSAndroid.jsx
Last active January 26, 2016 18:14 — forked from hhsaez/SaveiOSAndroid.jsx
Adobe Illustrator script for exporting icons to iOS and Android in all supported sizes.
/**
* Remixer 1: @herkulano (http://www.herkulano.com)
* Remixer 2: @hotappsfactory (http://www.hotappsfactory.com)
* Thanks to: Niels Bosma ([email protected])
* Remixer 3: @nomisum (mixing some Matthew Ericson in)
**/
// script takes @2x as basis. edit the 'saveToRes' lines for other scalings
@damienalexandre
damienalexandre / PrismCarpet.ino
Last active November 7, 2019 17:46
Arduino code making an HTTP request to Google Analytics and returning the status code. Replace `YOURGAID-HERE` by your GA tag.
#include <SPI.h>
#include <Ethernet.h>
// Thx http://bildr.org/2012/11/force-sensitive-resistor-arduino/
// Make use of https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide
// MAC Address, needed by the Ethernet Shield
byte mac[] = { 0xB0, 0xC0, 0xDE, 0xEF, 0xFE, 0xC7 };
int pin_red = 7; // Red LED