Pastebin
API
tools
faq
paste
Login
Sign up
Ulfben's Pastebin
Sweden
6,683
42,534
11 years ago
Name / Title
Added
Expires
Hits
Comments
Syntax
use onResume to update the highscore
Sep 16th, 2021
Never
1,347
Kotlin
-
assert(), require(), expect()
Sep 5th, 2021
Never
1,154
Kotlin
-
SquirrelNoise5
Aug 17th, 2021
Never
984
C++
-
Mesh
Mar 25th, 2021
Never
230
Java
-
(grid) Landscape generation
Mar 25th, 2021
Never
480
Java
-
any of, none of
Mar 18th, 2021
Never
985
C++
-
normalize
Feb 26th, 2021
Never
1,229
C++
-
linked_list_2020_start
Nov 29th, 2020
Never
725
C++
-
linked_list_2020_refactor (2 hours)
Nov 27th, 2020
Never
134
C++
-
Container 2020 day 3
Nov 24th, 2020
Never
732
C++
-
Container 2020 day 2 (refactoring II)
Nov 22nd, 2020
Never
971
C++
-
Container 2020 day 2 (refactoring)
Nov 20th, 2020
Never
707
C++
-
Container 2020 day 2
Nov 20th, 2020
Never
609
C++
-
Container 2020 day 1
Nov 17th, 2020
Never
517
C++
-
Disable Warnings cross platforms
Oct 13th, 2020
Never
1,714
C++
-
checkuser.c
Jul 29th, 2020
Never
1,264
C
-
startup.service (exercise)
May 15th, 2020
Never
189
Bash
-
logger.sh
Apr 21st, 2020
Never
550
Bash
-
Bitmap LevelData -generation
Mar 9th, 2020
Never
291
C++
-
ArduboyLUTs (float)
Mar 8th, 2020
Never
284
C++
-
reverse for_each
Feb 14th, 2020
Never
306
C++
-
span
Feb 12th, 2020
Never
352
C++
-
function_view
Jan 7th, 2020
Never
183
C++
-
PrintTopNLines
Dec 2nd, 2019
Never
248
Python
-
assert(), require(), expect()
Aug 29th, 2019
Never
233
Java
-
once flag
May 6th, 2019
Never
228
C++
-
infoscreen markup sample
Apr 17th, 2019
Never
162
None
-
Custom Upload Dir
Mar 23rd, 2019
Never
210
PHP
-
GLPixelFont2.java
Mar 16th, 2019
Never
215
Java
-
GLPixelFont.java
Mar 16th, 2019
Never
224
Java
-
Basic printf-a-like
Jan 5th, 2019
Never
220
C++
-
Classroom refactoring exercise (day 1)
Nov 27th, 2018
Never
215
C++
-
static asserts for Rule of 5 / regular types
Nov 26th, 2018
Never
189
C++
-
Modern C++ printf String formating
Nov 23rd, 2018
Never
255
C++
-
The big five / writing resource owning classes
Nov 13th, 2018
Never
263
C++
-
get-recent-comments patch
Aug 18th, 2018
Never
296
PHP
-
Fetch Google Fit data to Google Spreadsheet
Jul 13th, 2018
Never
257
JavaScript
-
Decrypt All EFS Files
May 13th, 2018
Never
638
PowerShell
-
DebugTextRenderer (android game dev)
Mar 18th, 2018
Never
272
Java
-
CleanComponentStore (winsxs)
Mar 8th, 2018
Never
206
Winbatch
-
ClearWindowsUpdateCache
Mar 8th, 2018
Never
205
Winbatch
-
Random (android game dev)
Feb 26th, 2018
Never
243
Java
-
BitmapPool
Feb 26th, 2018
Never
289
Java
-
intersectsAABB (Intro Android 2018)
Jan 28th, 2018
Never
226
Java
-
BitmapUtils (Android)
Jan 25th, 2018
Never
296
Java
-
backup.sh (rotating archives, encrypted)
Jan 9th, 2018
Never
301
Bash
-
FilteredDeleter
Jan 2nd, 2018
Never
214
C++
-
command line options parser
Jan 2nd, 2018
Never
177
C++
-
Modern C++ Singleton
Dec 13th, 2017
Never
312
C++
-
C++ ObjectPool and interface (v 1.0)
Nov 30th, 2017
Never
247
C++
-
nintendozone.sh
Nov 29th, 2017
Never
203
Bash
-
Add comment link, categories and tags to TwentySeventeen
Nov 27th, 2017
Never
145
PHP
-
C++: Q&D function timer
Nov 26th, 2017
Never
199
C++
-
Windows basic keyboard InputManager
Nov 14th, 2017
Never
186
C++
-
C++ algorithm utilities
Nov 1st, 2017
Never
306
C++
-
Sample "Big Five" implementation for SDL_Surface
Oct 14th, 2017
Never
183
C++
-
Add comment link and count to TwentySeventeen
Sep 23rd, 2017
Never
178
PHP
-
dice and AABB test
Sep 12th, 2017
Never
417
C++
-
Operator precedence
Sep 4th, 2017
Never
205
C++
-
check-temperature.sh
Aug 10th, 2017
Never
196
Bash
-
Clean Android Studio project folder
Jul 10th, 2017
Never
442
Winbatch
-
Merge multiple subfolders
Jun 26th, 2017
Never
201
Batch
-
GLFont.java (pixel font geometry)
Mar 27th, 2017
Never
197
Java
-
Asteroids player control (Android)
Mar 21st, 2017
Never
175
Java
-
Listing all sensors (Android)
Mar 7th, 2017
Never
276
Java
-
Collision pairs
Feb 27th, 2017
Never
201
Java
-
roundToNth (limit precision of fp-values)
Feb 25th, 2017
Never
205
Java
-
getOverlap (Android game programming)
Feb 24th, 2017
Never
252
Java
-
Android disable system sound
Feb 20th, 2017
Never
226
XML
-
ActivityMain,xml (inputmanager sample)
Feb 15th, 2017
Never
319
XML
-
BasicInputManager (Android)
Feb 15th, 2017
Never
305
Java
-
Clipping test - Viewport::inView()
Feb 14th, 2017
Never
222
Java
-
Virtual keypad (Android)
Feb 14th, 2017
Never
224
Java
-
Android Studio project folder cleanup
Feb 5th, 2017
Never
254
Bash
-
One dimensional array as grid
Jan 30th, 2017
Never
279
JavaScript
-
Android get screen density name (bucket)
Jan 25th, 2017
Never
503
Java
-
Leap year verification
Jan 14th, 2017
Never
272
Python
-
using the Function type
Jan 9th, 2017
Never
205
ActionScript 3
-
DIP to Pixel (Android)
Jan 8th, 2017
Never
194
Java
-
Custom URLLoader
Dec 15th, 2016
Never
307
ActionScript 3
-
Multiplication algorithms (version 1.0)
Dec 14th, 2016
Never
361
Python
-
getVisibleBounds in AS3
Dec 7th, 2016
Never
270
ActionScript 3
-
FastDraw.as
Nov 24th, 2016
Never
148
ActionScript 3
-
Intersection tests (AABB, SAT, lineCircle, distance)
Nov 22nd, 2016
Never
323
ActionScript 3
-
Rotate around center (or arbitrary points)
Nov 18th, 2016
Never
234
ActionScript 3
-
SDL wrappers for C++11
Oct 17th, 2016
Never
220
C++
-
Event system for C++11
Oct 6th, 2016
Never
188
C++
-
unique_ptr with custom destruction
Sep 26th, 2016
Never
198
C++
-
Generic remove
Sep 26th, 2016
Never
211
C++
-
Original (more pedagogical) intersection tests
Sep 23rd, 2016
Never
230
C++
-
Intersection tests (AABB and SAT)
Sep 23rd, 2016
Never
282
C++
-
Random.h (C++11)
Sep 23rd, 2016
Never
325
C++
-
Ways of writing our new Main.cpp
Sep 13th, 2016
Never
370
C++
-
Jerry & The Gilmore Girls
Sep 12th, 2016
Never
226
C++
-
Credit your sources
Sep 8th, 2016
Never
227
ActionScript 3
-
clamp(val:Number, min:Number, max:Number):Number
Mar 6th, 2016
Never
184
ActionScript 3
-
Nape-entity
Mar 4th, 2016
Never
241
ActionScript 3
-
nape.as, Physics Editor export template
Feb 17th, 2016
Never
253
ActionScript 3
-
scaleToFit
Feb 13th, 2016
Never
174
JavaScript
-
Managing Animation State in GameObjects
Jan 26th, 2016
Never
222
ActionScript 3
-
1
2
Oldest
Public Pastes
Untitled
PowerShell | 6 min ago | 0.23 KB
Untitled
JavaScript | 12 min ago | 9.41 KB
/kick command
Lua | 20 min ago | 0.87 KB
Untitled
C++ | 31 min ago | 0.03 KB
JS_One
JavaScript | 42 min ago | 3.75 KB
Untitled
Python | 54 min ago | 0.32 KB
Link crash
Java | 1 hour ago | 6.75 KB
test
Python | 1 hour ago | 1.60 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!