Skip to content

Instantly share code, notes, and snippets.

View yungtechboy1's full-sized avatar

CJ - Yungtechboy1 yungtechboy1

View GitHub Profile
@yungtechboy1
yungtechboy1 / L.TopoJSON.js
Created September 16, 2022 22:30 — forked from brendanvinson/L.TopoJSON.js
TopoJSON Leaflet plugin
/*
First run npm install topojson --save and then link "node_modules/topojson/build/topojson.min.js"
above this snippet in your html.
Usage: http://leafletjs.com/reference.html#geojson
*/
L.TopoJSON = L.GeoJSON.extend({
addData: function (data) {
var geojson, key;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
namespace Polymorphism
{ public class A
{
private String You_Cant_See = "Boo!0";
public void Foo()
{
Console.WriteLine("A::Foo()");
}
}
@yungtechboy1
yungtechboy1 / seq_mongo_auto.php
Created July 25, 2016 06:50 — forked from debojitkakoti/seq_mongo_auto.php
Auto Incrementing Sequence in mongodb using php mongo
<?php
$m = new MongoClient();
// select a database
$db = $m->seq;
// select a collection (analogous to a relational database's table)
$collection = $db->counters;
$user_collection = $db->user;
public class TextEntity : Entity
{
public TextEntity(Level level, string text, Vector3 pos) : base(64, level)
{
NameTag = text;
KnownPosition = new PlayerLocation(pos);
HealthManager = new NoDamageHealthManager(this);
}
public override void OnTick()
@yungtechboy1
yungtechboy1 / idk.html
Last active August 29, 2015 14:19 — forked from truelinux/idk.html
<?php
$name = $_POST['name'];
$rank = $_POST['rank'];
?>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paypal">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="cbt" value="Return to example" />
<input type="hidden" name="business" value="cjj4u2@aol.com" />
<input type="hidden" name="item_name" value="Skywars2" />