new ObjectMapper().writeValueAsString(input)
Nasıl Yazılım Öğrenilir.
Youtube da yazılım üzerine video çekmeye çalışıyorum. İlk videom: Bilgisayar Mühendisliği Okurken .. İkinci videom ise: Nasıl Yazılım Öğrenilir; https://docs.google.com/presentation/d/1-1XzcFvSwVNnf07dVZm8TaCGRgz5tF7KVRTEFoGYobk/edit?usp=sharing
Angular Pipe
ng g pipe denemePipe <div [innerHTML]=“question | denemePipe”></div> import { Pipe, PipeTransform } from ‘@angular/core’; import {DomSanitizer} from “@angular/platform-browser”; /** * Generated class for the denemePipe pipe. * * See https://angular.io/api/core/Pipe for more info on Angular Pipes. */@Pipe({ name: ‘denemePipe’, }) export class DenemePipe implements PipeTransform { constructor(private sanitizer:DomSanitizer){} transform(html) { return this.sanitizer.bypassSecurityTrustHtml(html); } }
HepsiBurada siparişlerin toplam tutarı:
Hepsiburada.com dan aldığınız siparişlerin toplam tutarı merak ediyor iseniz, http://www.hepsiburada.comu açın. Daha sonra mouse ile sağ tıka basıp console u seçin, veya klavyeden F12 tuşuna basın. Artından ilgili yere aşağıdaki kod parçaçığı yapıştırın.hepsibukadar..
React native için sqlite sorguları
db.transaction((tx) => { tx.executeSql(‘SELECT * FROM pet’, [], (tx, results) => { let myList = []; if (results.rows.length > 0) { for (var i = 0; i < results.rows.length; i++) { var pet = results.rows.item(i); myList.push(pet.owner); } this.setState({myList: myList}); } }); tx.executeSql(‘SELECT * FROM pet WHERE owner=?’, [‘petowner’], (tx, results) => { var len =…Continue reading React native için sqlite sorguları
Bedelli Askere giderken alınması gerekenler
Kilit,Yara Bandı,Kulak Tıkayıcı,MP3,Kitap,Terlik, Vatka, Pudra,Yastık Kılıfı,Tel Hattı,Eldiven, Maske,Yaz ise: güneş kremi
Yemeksepeti tüm harcamaların toplamı
Yemeksepeti sitesine tarayıcımızdan girelim ve aşağıdaki önceki siparişlere gidelim; https://www.yemeksepeti.com/hesabim/onceki-siparislerim Bu sayfada iken console u açalım. (Mouse ile sağ tık inspect diyip console sekmesine gidebiliriz.) Burada 2 tane script çalıştıracağız ilki scrolun en aşağı inip tüm siparişlerimizi yüklemesi için. Aşağıdaki kod parçaçığı kopyalayın ve console yapıştırın. function pageScroll() {window.scrollBy(0,100);scrolldelay = setTimeout(pageScroll,1);}pageScroll(); 2. çalıştıracağımız kod parçası…Continue reading Yemeksepeti tüm harcamaların toplamı
Android Run Your Xiaomi Phone
File > Settings > Build,Execution,Deployment > Instant Run > Un-check (Enable Instant Run to hot swap code) way 2: Go to Build –> Clean Project and Run again way 3: For those who use Xiaomi phones, follow these steps: way 4: Run Invalidate caches/restart in android studio
Linux için Node ve Angular Kurulumu
nodejs: curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash – sudo apt-get install -y nodejs npm install npm@latest -g angular: npm install -g @angular/cli ng –version Angular için yeni proje başlatma new ng project: ng new awesome-project cd awesome-project ng serve –open http://localhost:4200
RestTemplate Kullanımı
Get isteği için; Post isteği için; restTemplate.postForObject(API_URL, requestDto, Response.class);