This file contains 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
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", |
This file contains 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
#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 |
This file contains 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
[ | |
{ | |
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, |
This file contains 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
flutter.bat run -d web-server --web-port 3344 |
This file contains 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
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 |
This file contains 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 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._ |
This file contains 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 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(" - - [", " ") |
This file contains 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 com.sundogsoftware.spark | |
import org.apache.spark._ | |
import org.apache.log4j._ | |
object LearningScalaExample1 { | |
/* | |
* line: String = parameter | |
* (String,String) return types |
This file contains 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
//Data Structures | |
// Tuples | |
// Immutable List | |
val captainStuff = ("Picard", "Mehmet") | |
println(captainStuff) | |
println(captainStuff._1) | |
println(captainStuff._2) |
This file contains 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
// 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} |
NewerOlder