Skip to content

Instantly share code, notes, and snippets.

View inabahare's full-sized avatar
:shipit:
Hello World!

Ja Da inabahare

:shipit:
Hello World!
View GitHub Profile
@inabahare
inabahare / devtools.js
Created October 29, 2023 09:13
kodownloader
(async () => {
const threads = [
418,
21855,
34859,
50600
]
const apiUrl = "https://api.knockout.chat/v2/threads";
SELECT
cars.style,
SUM(cars.cost_$) AS Revenue,
YEAR(sales.purchase_date) AS Purchase_Year
FROM sales
INNER JOIN cars ON sales.car_id = cars.car_id
WHERE cars.style = 'SUV' AND YEAR(sales.purchase_date) = '2022';
let motionModule = (function () {
function superCoolHelper() {
// todo
}
return {
glideMixin: function(obj) {
obj.glide = function() {
console.log("Gliding on the water");
};
@inabahare
inabahare / tabeleinator.cs
Created November 28, 2022 20:31
Basic example of turning an IENumerable<T> into a HTML table
var persons = new List<Person>() {
new Person {
Name = "Big Mc. Largehuge",
Email = "pilot3234@sourthen-sun.gov"
},
new Person {
Name = "Fridge Largemeat",
Email = "pilot3234@sourthen-sun.gov"
},
};
Imports System
Imports System.Data.OleDb
Imports System.Reflection.Metadata
Imports System.Security.Cryptography.Xml
Imports System.Windows.Forms
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements.Forms
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements.Forms
Imports ceTe.DynamicPDF.Text
@@ -132,6 +132,7 @@ Partial Class frmMailWizard
Me.RibbonPanel1.StyleMouseOver.Class = ""
Me.RibbonPanel1.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square
Me.RibbonPanel1.TabIndex = 1
+ Me.RibbonPanel1.Visible = True^M
'
'txtMailSubject
'
@@ -225,7 +226,7 @@ Partial Class frmMailWizard
Me.btnOK.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton
@inabahare
inabahare / launch.json
Created July 8, 2020 11:39
Peddit roast
{
"type": "node",
"request": "launch",
"name": "Launch Main App",
"preLaunchTask": "npm: build",
"program": "src/index.js",
"sourceMaps": true,
"outFiles": [
"dist/**/*.js"
],
import { Vue, Prop } from 'vue-property-decorator';
import { TimeCell, CalendarEntity } from '@/types/client.types';
import { isEventInRange } from '@/core/utils/fns';
export abstract class AbstractCell extends Vue {
@Prop({ type: String })
public id!: string;
@Prop({ required: true, type: Date })
startDate!: Date;
<template>
<section id="content">
<!-- Vowels and video player -->
<Vowels id="vowels"
v-bind:class="{'toggle-hide': hidden}"
@letter-changed="letterChanged"
@header-clicked="switchTable"/>
<!-- Consonants and navigation -->
<Consonants id="consonants"
{
"name": "titans-league-website",
"version": "1.0.0",
"description": "Titans-League",
"author": "Vincent Vanclef <rasmusostergaard@live.dk>",
"private": true,
"scripts": {
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev",
"build": "node build/build.js"