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
#!/bin/sh | |
curl -fsSL https://pkgs.tailscale.com/stable/debian/bullseye.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null | |
curl -fsSL https://pkgs.tailscale.com/stable/debian/bullseye.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list | |
sudo apt-get update | |
sudo apt-get install tailscale |
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
<?php | |
namespace App; | |
use Illuminate\Database\Eloquent\Model; | |
use Illuminate\Database\Eloquent\SoftDeletes; | |
use Elasticquent\ElasticquentTrait; | |
use SleepingOwl\Models\SleepingOwlModel; | |
class Place extends SleepingOwlModel |
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
{% for version in versions %} | |
<li><a href="download/{{version.files}}">{{version}}</a> <span>( {{version.description}} )<span> | <small><a href="#" onclick='$("#f{{version.pk}}").toggle();'>Comment</a></small></li> | |
<div id="f{{version.pk}}" style="display:none;"> | |
{% for comment in version.comments_set.all %} | |
test | |
{% endfor %} | |
<form method="post"> | |
<input type="hidden" name="version" value="{{version.pk}}" /> | |
<textarea name="comment"></textarea> |
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
<h1>Login</h1> | |
{% if error %} | |
lol | |
<p>{{error}}</p> | |
{% endif %} | |
<form action="{% url 'login' %}" method="POST"> | |
{% csrf_token %} | |
<input type="text" name="username" placeholder="Username" /> | |
<input type="password" name="password" placeholder="Password" /> |
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
package | |
{ | |
import blocked.events.NewWorldEvent; | |
import blocked.worlds.World; | |
import blocked.worlds.WorldManager; | |
import net.hires.debug.Stats; | |
import playerio.Client; | |
import playerio.Connection; | |
import starling.core.Starling; | |
import starling.display.Sprite; |
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
package draugiem | |
{ | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.events.EventDispatcher; | |
import flash.events.HTTPStatusEvent; | |
import flash.net.URLLoader; | |
import flash.net.URLRequest; | |
/** | |
* ... |
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
private void showRegister(View view) { | |
try { | |
Intent intent = new Intent(this, RegisterActivity.class); | |
intent.putExtra("t", "t"); | |
startActivity(intent); | |
} catch (IllegalStateException e) { | |
e.printStackTrace(); | |
} | |
} |
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 "bar.h" | |
Bar::Bar(float dx, float dy, float dwidth, float dheight, float ddepth) { | |
x = dx; | |
y = dy; | |
width = dwidth; | |
height = dheight; | |
depth = ddepth; | |
} |