Skip to content

Instantly share code, notes, and snippets.

View Laim's full-sized avatar
🧸
jeff

Laim

🧸
jeff
View GitHub Profile
@Laim
Laim / lyrics.php
Created January 21, 2019 00:43
TWNPLY lyrics page
<!DOCTYPE html>
<head>
<title>Lyrics Database</title>
</head>
<body>
<?php
error_reporting(0);
$artist_original = $_GET['artist'];
$song_original = $_GET['song'];
//
@Laim
Laim / Viewer.frm
Created December 23, 2018 00:05
vb6
VERSION 5.00
Begin VB.Form ProViewer
BorderStyle = 1 'Fixed Single
Caption = "Form1"
ClientHeight = 7695
ClientLeft = 45
ClientTop = 375
ClientWidth = 6015
LinkTopic = "Form1"
MaxButton = 0 'False
@Laim
Laim / bug.frm
Created December 23, 2018 00:03
vb6
Sub CreateAfile()
Call ImageCreate
''FILE 1 START''
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile(App.Path & "\data\animals\" & txtBugName.Text & "\antenna.txt", True)
a.WriteLine ("N/A")
a.Close
''FILE 1 END''
''FILE 2 START''
Set fs = CreateObject("Scripting.FileSystemObject")
@Laim
Laim / post.php
Created November 21, 2018 20:15
How not to do it
<?php
//MAIN CONFIGURATION
require_once(dirname(__FILE__) . "/include/configuration.php");
//DATABASE
require_once(dirname(__FILE__) . "/include/db/conn.php");
require_once(dirname(__FILE__) . "/include/db/func.php");
$sb = new susboy($pdo);
@Laim
Laim / Form1.vb
Last active February 12, 2022 22:59
winRekt
Option Explicit On
Imports System.IO
Imports System
Imports System.Text
Public Class Form1
''
Private Const SPI_SETDESKWALLPAPER = 20
Private Const SPIF_UPDATEINIFILE = &H1
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer, ByVal lpvParam As String, ByVal fuWinIni As Integer) As Integer
@Laim
Laim / add_image.php
Created September 30, 2016 15:19
i was tired and made this and i decided to use it but i really need to change it, soz whoever sees this
<?php
if($get_image) {
if(strpos($get_image, '.png') == true) {
$get_image = str_replace('.png','',$get_image);
}
if($image_functions->get_image_for_check($get_image) == 'false') {