This file contains hidden or 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
gm convert *.pnm output.pdf |
This file contains hidden or 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
import 'dart:async'; | |
import 'package:flutter/material.dart'; | |
import 'package:get/get.dart'; | |
import 'package:intl/intl.dart'; | |
class Home extends StatelessWidget { | |
const Home({Key? key}) : super(key: key); | |
@override |
This file contains hidden or 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
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object | |
<object type="application/pdf" | |
data="/media/examples/In-CC0.pdf" | |
width="250" | |
height="200"> | |
</object> |
This file contains hidden or 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
# cat /templates/_product.liquid | |
ABC |
This file contains hidden or 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
class MainActivity : ComponentActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
val context: Context = this | |
val isWordPressKnew = runBlocking { context.settingsDataStore.data.first().websiteUrl } | |
setContent { | |
if(isWordPressKnew.isNullOrEmpty()){ |
This file contains hidden or 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 io.github.onliniak.qr_scanner | |
import android.os.Bundle | |
import android.util.Log | |
import androidx.activity.ComponentActivity | |
import androidx.activity.compose.rememberLauncherForActivityResult | |
import androidx.activity.compose.setContent | |
import androidx.activity.result.contract.ActivityResultContracts | |
import androidx.activity.result.launch | |
import androidx.compose.material.Button |
This file contains hidden or 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
let obliczenia = 0; | |
math = {} | |
math.dodaj = 5 | |
math.razy = 3 | |
function oblicz(matm) { | |
sort = Object.entries(matm).sort((k, v) => k[0].localeCompare(v[0])); | |
for (i = 0; i < sort.length; i++) { | |
switch (sort[i][0]) { | |
case "dodaj": |
This file contains hidden or 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 | |
function createRoutes(){ | |
$routes = array(); | |
array_push($routes, ['hello' => hello()]); | |
array_push($routes, ['hello123' => hello123()]); | |
return $routes; | |
} | |
function hello(){ | |
return 'Hello World !'; |