Skip to content

Instantly share code, notes, and snippets.

View ylmazmehmet60's full-sized avatar
🎯
Focusing

Mehmet Yılmaz ylmazmehmet60

🎯
Focusing
View GitHub Profile
function a0_0x5e532c(_0x247f3f, _0x3de91f, _0x1ee9f5, _0x54bc04) {
var a0_0xcf434 = {
_0x220d11: 539
};
return a0_0x8ca0(_0x1ee9f5 - a0_0xcf434._0x220d11, _0x54bc04);
}
(function (_0xabd88d, _0xd713d7) {
var a0_0xfeadd1 = {
_0x61a3e7: 35,
_0x433d22: "Oauj",
#to clean install dependencies
flutter pub cache clean
flutter pub get
flutter pub upgrade
#downgrade or upgrade dart sdk
cd <path-to-your-flutter-sdk>
git tag
git checkout tags/3.24.1
flutter upgrade
[
{
users: [
[Object], [Object], [Object], [Object], [Object], [Object],
[Object], [Object], [Object], [Object], [Object], [Object],
[Object], [Object], [Object], [Object], [Object], [Object],
... 91 more items
],
big_list: true,
page_size: 200,
flutter.bat run -d web-server --web-port 3344
@ylmazmehmet60
ylmazmehmet60 / docker mysql
Last active November 4, 2024 21:54
docker mysql
docker exec -it mysql-container mysql -u root -p
#backup
docker exec mysql-container mysqldump -u root -p<password> --host=127.0.0.1 --port=3306 your_database > backup.sql
package spark.actions
import org.apache.spark.sql.types.StringType
import org.apache.log4j.{Level, Logger}
import org.apache.spark.rdd.RDD
import org.apache.spark.sql.{Row, SparkSession}
import org.apache.spark.sql.functions.{col, when}
import org.apache.spark.sql.types.{StringType, StructType}
import org.apache.spark.sql.functions._
package spark.actions
import org.apache.log4j.{Level, Logger}
import org.apache.spark.rdd.RDD
import org.apache.spark.sql.SparkSession
object map {
def parseLine(line: String): (String, String, String, String, String) = {
val l = line.replace(" - - [", " ")
package com.sundogsoftware.spark
import org.apache.spark._
import org.apache.log4j._
object LearningScalaExample1 {
/*
* line: String = parameter
* (String,String) return types
//Data Structures
// Tuples
// Immutable List
val captainStuff = ("Picard", "Mehmet")
println(captainStuff)
println(captainStuff._1)
println(captainStuff._2)
// Functions
// format def <function name>(parameter name: type...): return_type = {}
def squareIt(x: Int) : Int = {
x * x
}
def cubeIt(x: Int) : Int = {x * x * x}